mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 13:27:09 +00:00
Add icon translations to Flume (#111543)
This commit is contained in:
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",
|
||||
|
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…
x
Reference in New Issue
Block a user