Fix Airthings BLE illuminance sensor name (#113560)

This commit is contained in:
Joost Lekkerkerker
2024-03-15 23:48:47 +01:00
committed by GitHub
parent 2b04975332
commit 53a76fc792
2 changed files with 4 additions and 0 deletions

View File

@@ -108,6 +108,7 @@ SENSORS_MAPPING_TEMPLATE: dict[str, SensorEntityDescription] = {
),
"illuminance": SensorEntityDescription(
key="illuminance",
translation_key="illuminance",
native_unit_of_measurement=PERCENTAGE,
state_class=SensorStateClass.MEASUREMENT,
),