mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add icon translations to Ecoforest (#111417)
This commit is contained in:
parent
a2af3e5ba1
commit
e366763eb2
9
homeassistant/components/ecoforest/icons.json
Normal file
9
homeassistant/components/ecoforest/icons.json
Normal file
@ -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…
x
Reference in New Issue
Block a user