ITADN

AL calculations working but AL-dependent entities using stale values

#1427Closedmacleodal 创建于 2026-02-21
kind/bugkind/featureneed/triage
M
macleodalcommented
# 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](https://github.com/basnijholt/adaptive-lighting/discussions/new?category=q-a) instead. ### Before submitting a bug report, please follow these troubleshooting steps: Please confirm that you have completed the following steps: YES - [ ] I have updated to the [latest Adaptive Lighting version](https://github.com/basnijholt/adaptive-lighting/releases) available in [HACS](https://hacs.xyz/). YES - [ ] I have reviewed the [Troubleshooting Section](https://github.com/basnijholt/adaptive-lighting#sos-troubleshooting) in the [README](https://github.com/basnijholt/adaptive-lighting#readme). NOT USING - [ ] (If using Zigbee2MQTT) I have read the [Zigbee2MQTT troubleshooting guide](https://github.com/basnijholt/adaptive-lighting#zigbee2mqtt) in the [README](https://github.com/basnijholt/adaptive-lighting#readme). YES - [ ] I have checked the [V2 Roadmap](https://github.com/basnijholt/adaptive-lighting/discussions/291) and [open issues](https://github.com/basnijholt/adaptive-lighting/issues) to ensure my issue isn't a duplicate. ### 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](https://github.com/basnijholt/adaptive-lighting#troubleshooting): Debug was not enabled when this occurred however I am hoping the issue can be responded to anyway. I will enable it now in case the problem persists although I am going to have to disable AL today due to the issue. 2. [Your Adaptive Lighting configuration](https://github.com/basnijholt/adaptive-lighting#gear-configuration): NOT DEFINED IN YAML (so hard to post!) 3. (If using Zigbee2MQTT), provide your configuration files (**remove all personal information before posting**): NOT USING / NOT A DEVICE RELATED ISSUE 4. Describe the bug and how to reproduce it: This morning AL is getting its calculations completely wrong (which it has never done before). System time is correct. Timezone is correct. Currently 1050am local time, sun position shows negative. While I was learning AL I actually added a sensor so I could see what it was calculating for brightness, colour and sun elevation -- and it looks from this like the sun elevation stopped updating 16hrs ago, in fact it all appears to have gone a bit crazy at 2300 yesterday. It seems like AL is correctly calculating the sun position but the entities that rely on it are using a stale value. 5. Steps to reproduce the behavior: I cannot make it behave correctly. Have reloaded the automation and restarted HA. <img width="710" height="600" alt="Image" src="https://github.com/user-attachments/assets/9e97a28f-05d2-42db-a60e-49987d3dc8bc" /> <img width="734" height="1224" alt="Image" src="https://github.com/user-attachments/assets/975c6d4a-9dfc-4856-b368-bcb3eb106729" /> <img width="706" height="612" alt="Image" src="https://github.com/user-attachments/assets/9240376a-5c22-402b-9f7a-0f5233025970" /> <img width="699" height="655" alt="Image" src="https://github.com/user-attachments/assets/d10cf391-74ef-4906-8d68-11bf4482072b" />
关闭于 2026-02-22 1 条评论