Add icon translations to Ecoforest (#111417)
parent
a2af3e5ba1
commit
e366763eb2
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"alarm": {
|
||||
"default": "mdi:alert"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -90,7 +90,6 @@ SENSOR_TYPES: tuple[EcoforestSensorEntityDescription, ...] = (
|
|||
translation_key="alarm",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
options=ALARM_TYPE,
|
||||
icon="mdi:alert",
|
||||
value_fn=lambda data: data.alarm.value if data.alarm else "none",
|
||||
),
|
||||
EcoforestSensorEntityDescription(
|
||||
|
|
Loading…
Reference in New Issue