Add icon translations to Flume (#111543)

pull/111692/head
Joost Lekkerkerker 2024-02-28 05:36:12 +01:00 committed by GitHub
parent 78bb6dbe75
commit 470d121f5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 2 deletions

View File

@ -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",

View File

@ -0,0 +1,15 @@
{
"entity": {
"binary_sensor": {
"leak": {
"default": "mdi:pipe-leak"
},
"flow": {
"default": "mdi:waves"
}
}
},
"services": {
"list_notifications": "mdi:bell"
}
}