basnijholt / adaptive-lighting

Adaptive Lighting custom component for Home Assistant
https://basnijholt.github.io/adaptive-lighting/
Apache License 2.0
1.71k stars 128 forks source link

Adapte after light turns onnwith matter Hue #791

Open R3Cardoso opened 9 months ago

R3Cardoso commented 9 months ago

Hi, I'm no sure this is bug, but yesterday, before I update my Hue bridges to Matter firmware and add them to HA everthing was working, the lights when turn on were already adapted on color and brightness. Now after this change, the light turn on and only after it adapts.

Can be a problem with matter connections? I noticed the lights response to my clicks on switch or over phone is quicker than before.

R3Cardoso commented 9 months ago

Just made some tests. If the light is not add to configuration on integration, and we turn onnthe light using the dev tools, it only turns ON, not adapted color or brightness.

If I have the light add to configuration it adapts after the light turns on, not before as it should be.

R3Cardoso commented 9 months ago

New information, it's only color that isn't be updated, brightness is.

So it looks like a issue with adapt color be applie before lights turn ON, it adapts fine after the light is turn ON.

R3Cardoso commented 9 months ago

Transition times are not working too, at least for initial adaptation

ZigZaggh commented 9 months ago

I got the same issue, but with Nanoleaf essential thread lights on a matter only network, they turn on in the color state they turned off in, and only after the brightness is set they switch color!

I also have massive issues with them turning on after turning off, this only happens if they are color controlled.

Maybe there are issues with the matter/thread implementation?

R3Cardoso commented 9 months ago

I add the lights again using HUE integration. Everything works fine, it just a bit slower between push of the button and action.

ZigZaggh commented 9 months ago

Interesting, thank you for the feedback :)