Open vsmith80 opened 1 year ago
Hi,
I also noticed that the integration doesn't always restore to the expected state of the lights. I suspect this might be due to transitions being saved as states to which the entity is restored.
I don't think the colour mode is influencing anything here. Colour mode simply tells us what mode is used to set the colour of a light. Since this integration only sets lights according to their RGB value this shouldn't change anything.
I will look into this and see what I can do.
Well, the feature to remember previos state is pretty cool! I have one complicated automatization to make light switch to previos state when i'm pressing the switch. And i tried to check new feature I have scene "Kitchen duty light", "Kitchen usual light" and "Kitchen no light". When duty light is truned on pressing the switch makes usual light active, and the next press to switch makes active prevous scene.
So i'm truning on "Restore on deactivate" on switch of scene "Kitchen usual light" And the light not turning back to last state exactly.
When "Kithen duty light" is activated my lamp looks like that:
=============Duty light
Activating the usual light scene turns it to that:
============ Usual light
Deactivating the usual light switch makes it not to first state, but to that
As far i can see somehow color_mode attribute is changing, and hs state of that attribute have no brightness, color_temp_kelvin and color_temp
So' maybe it's possible to save color_mode attribute?