Add unit of measurement for rig speed
This commit is contained in:
parent
6b85fe5e70
commit
a7a91c9dfe
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user