Remove signal strength device class from hunterdouglas_powerview (#95113)
This commit is contained in:
parent
8fd930ba87
commit
85a9654e52
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue