mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add icon translations to Nuki (#111377)
This commit is contained in:
parent
8645184dbf
commit
7d37aeac59
@ -83,7 +83,6 @@ class NukiRingactionEntity(NukiEntity[NukiDevice], BinarySensorEntity):
|
|||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
_attr_translation_key = "ring_action"
|
_attr_translation_key = "ring_action"
|
||||||
_attr_icon = "mdi:bell-ring"
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def unique_id(self) -> str:
|
def unique_id(self) -> str:
|
||||||
|
13
homeassistant/components/nuki/icons.json
Normal file
13
homeassistant/components/nuki/icons.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"binary_sensor": {
|
||||||
|
"ring_action": {
|
||||||
|
"default": "mdi:bell-ring"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"services": {
|
||||||
|
"lock_n_go": "mdi:lock-clock",
|
||||||
|
"set_continuous_mode": "mdi:bell-cog"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user