mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add icon translations to alarmdecoder (#111319)
This commit is contained in:
parent
20f455d39f
commit
a706d5e282
13
homeassistant/components/alarmdecoder/icons.json
Normal file
13
homeassistant/components/alarmdecoder/icons.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"alarm_panel_display": {
|
||||||
|
"default": "mdi:alarm-check"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"services": {
|
||||||
|
"alarm_keypress": "mdi:dialpad",
|
||||||
|
"alarm_toggle_chime": "mdi:abc"
|
||||||
|
}
|
||||||
|
}
|
@ -20,7 +20,7 @@ async def async_setup_entry(
|
|||||||
class AlarmDecoderSensor(SensorEntity):
|
class AlarmDecoderSensor(SensorEntity):
|
||||||
"""Representation of an AlarmDecoder keypad."""
|
"""Representation of an AlarmDecoder keypad."""
|
||||||
|
|
||||||
_attr_icon = "mdi:alarm-check"
|
_attr_translation_key = "alarm_panel_display"
|
||||||
_attr_name = "Alarm Panel Display"
|
_attr_name = "Alarm Panel Display"
|
||||||
_attr_should_poll = False
|
_attr_should_poll = False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user