Add unit of measurement for rig speed

This commit is contained in:
Cathal O Cuimin 2022-05-15 21:35:55 -07:00 committed by Roxedus
parent 6b85fe5e70
commit a7a91c9dfe
No known key found for this signature in database
GPG Key ID: EBC13557C4D91D7B

View File

@ -378,7 +378,7 @@ class RigSpeedSensor(RigSensor):
@property @property
def unit_of_measurement(self): def unit_of_measurement(self):
"""Sensor unit of measurement""" """Sensor unit of measurement"""
return None return f"{self._unit}"
@property @property
def device_state_attributes(self): def device_state_attributes(self):