mirror of
https://github.com/home-assistant/core.git
synced 2025-08-12 09:05:15 +02:00
Fix Airthings BLE illuminance sensor name (#113560)
This commit is contained in:
committed by
Paulus Schoutsen
parent
4a620e015f
commit
a7908d8250
@@ -105,6 +105,7 @@ SENSORS_MAPPING_TEMPLATE: dict[str, SensorEntityDescription] = {
|
|||||||
),
|
),
|
||||||
"illuminance": SensorEntityDescription(
|
"illuminance": SensorEntityDescription(
|
||||||
key="illuminance",
|
key="illuminance",
|
||||||
|
translation_key="illuminance",
|
||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
|
@@ -33,6 +33,9 @@
|
|||||||
},
|
},
|
||||||
"radon_longterm_level": {
|
"radon_longterm_level": {
|
||||||
"name": "Radon longterm level"
|
"name": "Radon longterm level"
|
||||||
|
},
|
||||||
|
"illuminance": {
|
||||||
|
"name": "[%key:component::sensor::entity_component::illuminance::name%]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user