mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +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(
|
PowerviewSensorDescription(
|
||||||
key="signal",
|
key="signal",
|
||||||
name="Signal",
|
name="Signal",
|
||||||
device_class=SensorDeviceClass.SIGNAL_STRENGTH,
|
icon="mdi:signal",
|
||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
native_value_fn=lambda shade: round(
|
native_value_fn=lambda shade: round(
|
||||||
shade.raw_data[ATTR_SIGNAL_STRENGTH] / ATTR_SIGNAL_STRENGTH_MAX * 100
|
shade.raw_data[ATTR_SIGNAL_STRENGTH] / ATTR_SIGNAL_STRENGTH_MAX * 100
|
||||||
|
Loading…
x
Reference in New Issue
Block a user