-
Notifications
You must be signed in to change notification settings - Fork 295
Open
Description
Hi,
Thanks for the useful routine. I tried using this with an RGBW light in Home-Assistant and it would restore the brightness, but not the colour. Python isn't one of my languages yet, but I eventually tracked the problem to "they will be saved: brightness, effect, and one of the following (in order of precedence): white_value, color_temp, hs_color" - an RGBW has both white level AND the RGB/HS value - and light_store only brings back the first it finds. I temporarily fixed my problem by altering the precedence to COLOR_ATTRS = [ATTR_HS_COLOR, ATTR_COLOR_TEMP, ATTR_WHITE_VALUE], but unfortunately my python isn't good enough for a full fix :-(
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels