Add icon translations to Flume (#111543)
parent
78bb6dbe75
commit
470d121f5c
|
@ -59,14 +59,12 @@ FLUME_BINARY_NOTIFICATION_SENSORS: tuple[FlumeBinarySensorEntityDescription, ...
|
|||
translation_key="leak",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
event_rule=NOTIFICATION_LEAK_DETECTED,
|
||||
icon="mdi:pipe-leak",
|
||||
),
|
||||
FlumeBinarySensorEntityDescription(
|
||||
key="flow",
|
||||
translation_key="flow",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
event_rule=NOTIFICATION_HIGH_FLOW,
|
||||
icon="mdi:waves",
|
||||
),
|
||||
FlumeBinarySensorEntityDescription(
|
||||
key="low_battery",
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"entity": {
|
||||
"binary_sensor": {
|
||||
"leak": {
|
||||
"default": "mdi:pipe-leak"
|
||||
},
|
||||
"flow": {
|
||||
"default": "mdi:waves"
|
||||
}
|
||||
}
|
||||
},
|
||||
"services": {
|
||||
"list_notifications": "mdi:bell"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue