basnijholt / adaptive-lighting

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

Lights turn on after being turned off #797

Closed ZigZaggh closed 5 months ago

ZigZaggh commented 9 months ago

Home Assistant Adaptive Lighting Issue Template

Bug Reports

If you need help with using or configuring Adaptive Lighting, please open a Q&A discussion thread here instead.

Before submitting a bug report, please follow these troubleshooting steps:

Please confirm that you have completed the following steps:

Required information for bug reports:

Please include the following information in your issue.

Issues missing this information may not be addressed.

  1. Debug logs captured while the issue occurred. See here for instructions on enabling debug logging:
Added in next post.
  1. Your Adaptive Lighting configuration:
Am I blind? Cant find it, please help :)
  1. (If using Zigbee2MQTT), provide your configuration files (remove all personal information before posting):

    • devices.yaml
    • groups.yaml
    • configuration.yaml ⚠️; Warning REMOVE ALL of the PERSONAL INFORMATION BELOW before posting ⚠️;
      • mqtt: server:
      • mqtt: user:
      • mqtt: password:
      • advanced: pan_id:
      • advanced: network_key:
      • anything in log_syslog if you use this
    • Brand and model number of problematic light(s)
      Using only Matter.
  2. Describe the bug and how to reproduce it: I got Nanoleaf Essential Thread lights in a Matter only network, the lights can sometime turn on after being turned off, this happens after turning them off manually and with automation. If I turn one of the following settings on: only_once: adapt_only_on_bare_turn_on: This is not happening, so I suspect this to be an issue with the color correction, maybe sending a not required color correction signal in the end?

I also have another minor issue, and that is that the lights only corrects the color after being set to on and the brightness is set, so in the evening you will have the bulb turn on white(daylight), and then correct the color to the time of day.

  1. Steps to reproduce the behavior: The first main issue, just turn a light on and then off again for a few times and this issue will appear, usually within 3-5 attempts. The second with the color correction, this just happens every time.
ZigZaggh commented 9 months ago

home-assistant.log

ZigZaggh commented 8 months ago

Okey, I fixed the lights turning on after being turned off, by switching from multiprotocol to only matter an setting all up from a blank slate, since that is the only type of devices I'm using, I guess it is all a bit finicky since it still is in beta.

The lights switching color abruptly after being turned on is still an issue I haven't found a solution to.

ZigZaggh commented 5 months ago

The issue with lights switching color abruptly after being turned on is now fixed, it was an matter issue and how it sends the information of color and brightness.