mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Use device class icon in Crownstone (#111361)
This commit is contained in:
parent
5fa4be02f0
commit
ba961e12a4
9
homeassistant/components/crownstone/icons.json
Normal file
9
homeassistant/components/crownstone/icons.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"entity": {
|
||||
"light": {
|
||||
"german_power_outlet": {
|
||||
"default": "mdi:power-socket-de"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -70,8 +70,8 @@ class CrownstoneEntity(CrownstoneBaseEntity, LightEntity):
|
||||
Light platform is used to support dimming.
|
||||
"""
|
||||
|
||||
_attr_icon = "mdi:power-socket-de"
|
||||
_attr_name = None
|
||||
_attr_translation_key = "german_power_outlet"
|
||||
|
||||
def __init__(
|
||||
self, crownstone_data: Crownstone, usb: CrownstoneUart | None = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user