Add color_mode to demo light (#49694)
* Update demo light with color mode support * Add rgbw and rgbww color properties * Update demo light * Tweak * Remove unneeded _clear_colors
This commit is contained in:
parent
25d257b631
commit
bf57c77d5c
4 changed files with 118 additions and 51 deletions
|
@ -91,6 +91,8 @@ ENTITY_IDS_BY_NUMBER = {
|
|||
"22": "scene.light_on",
|
||||
"23": "scene.light_off",
|
||||
"24": "media_player.kitchen",
|
||||
"25": "light.office_rgbw_lights",
|
||||
"26": "light.living_room_rgbww_lights",
|
||||
}
|
||||
|
||||
ENTITY_NUMBERS_BY_ID = {v: k for k, v in ENTITY_IDS_BY_NUMBER.items()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue