Remove signal strength device class from hunterdouglas_powerview (#95113)

This commit is contained in:
J. Nick Koston 2023-06-23 09:11:19 -05:00 committed by GitHub
parent 8fd930ba87
commit 85a9654e52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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