basnijholt / adaptive-lighting

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

Turning off Sleep Mode doesn't have effect if lights are off #771

Open malorezzanzo64 opened 12 months ago

malorezzanzo64 commented 12 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:
  1. Your Adaptive Lighting configuration:
  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)


4.  Describe the bug and how to reproduce it:

I have an automation that turn on/off sleep mode based on time of day, but even though the state of the sleep mode switch is effectively changed, the light color and brightness is not if the light is off
P.S.: I use "prefer_rgb_color" only for sleep mode

6. Steps to reproduce the behavior:

Turn on sleep mode, turn on light, turn off light, turn off sleep mode, turn on light
basnijholt commented 12 months ago

Thanks for reporting!

I can’t reproduce this. Please share your logs when you reproduce the behavior.

basnijholt commented 12 months ago

Also which version are you using?

basnijholt commented 11 months ago

I will close this issue for now because of the missing logs.

I will reopen it once you share them ;)

malorezzanzo64 commented 11 months ago

Sorry for the delay. I'm using version 1.19.1. I have zigbee2mqtt home-assistant_adaptive_lighting_2023-09-05T02-59-45.203Z.log