mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Remove signal strength device class from hunterdouglas_powerview (#95113)
This commit is contained in:
parent
8fd930ba87
commit
85a9654e52
@ -70,7 +70,7 @@ SENSORS: Final = [
|
||||
PowerviewSensorDescription(
|
||||
key="signal",
|
||||
name="Signal",
|
||||
device_class=SensorDeviceClass.SIGNAL_STRENGTH,
|
||||
icon="mdi:signal",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
native_value_fn=lambda shade: round(
|
||||
shade.raw_data[ATTR_SIGNAL_STRENGTH] / ATTR_SIGNAL_STRENGTH_MAX * 100
|
||||
|
Loading…
x
Reference in New Issue
Block a user