Add icon translations to Plum lightpad (#112183)

This commit is contained in:
Joost Lekkerkerker 2024-03-05 08:42:59 +01:00 committed by GitHub
parent cb3c7f6b0a
commit fb5e5221ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,9 @@
{
"entity": {
"light": {
"glow_ring": {
"default": "mdi:crop-portrait"
}
}
}
}

View File

@ -130,8 +130,8 @@ class GlowRing(LightEntity):
_attr_color_mode = ColorMode.HS _attr_color_mode = ColorMode.HS
_attr_should_poll = False _attr_should_poll = False
_attr_translation_key = "glow_ring"
_attr_supported_color_modes = {ColorMode.HS} _attr_supported_color_modes = {ColorMode.HS}
_attr_icon = "mdi:crop-portrait"
def __init__(self, lightpad): def __init__(self, lightpad):
"""Initialize the light.""" """Initialize the light."""