Add icon translations to Flume (#111543)
This commit is contained in:
parent
78bb6dbe75
commit
470d121f5c
2 changed files with 15 additions and 2 deletions
|
@ -59,14 +59,12 @@ FLUME_BINARY_NOTIFICATION_SENSORS: tuple[FlumeBinarySensorEntityDescription, ...
|
||||||
translation_key="leak",
|
translation_key="leak",
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
event_rule=NOTIFICATION_LEAK_DETECTED,
|
event_rule=NOTIFICATION_LEAK_DETECTED,
|
||||||
icon="mdi:pipe-leak",
|
|
||||||
),
|
),
|
||||||
FlumeBinarySensorEntityDescription(
|
FlumeBinarySensorEntityDescription(
|
||||||
key="flow",
|
key="flow",
|
||||||
translation_key="flow",
|
translation_key="flow",
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
event_rule=NOTIFICATION_HIGH_FLOW,
|
event_rule=NOTIFICATION_HIGH_FLOW,
|
||||||
icon="mdi:waves",
|
|
||||||
),
|
),
|
||||||
FlumeBinarySensorEntityDescription(
|
FlumeBinarySensorEntityDescription(
|
||||||
key="low_battery",
|
key="low_battery",
|
||||||
|
|
15
homeassistant/components/flume/icons.json
Normal file
15
homeassistant/components/flume/icons.json
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"binary_sensor": {
|
||||||
|
"leak": {
|
||||||
|
"default": "mdi:pipe-leak"
|
||||||
|
},
|
||||||
|
"flow": {
|
||||||
|
"default": "mdi:waves"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"services": {
|
||||||
|
"list_notifications": "mdi:bell"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue