V2.0.0b: error in Logs
See original GitHub issueAfter updating to v2.0.0b I see this error, and the lights don’t change in color:
Log Details (ERROR)
Logger: homeassistant
Source: custom_components/circadian_lighting/switch.py:381
First occurred: 8:24:57 PM (9 occurrences)
Last logged: 8:24:57 PM
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/circadian_lighting/switch.py", line 381, in _light_state_changed
if to_state.state == "on" and from_state.state != "on":
AttributeError: 'NoneType' object has no attribute 'state'
This is on HA-Core/hassio v0.114.3.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Errors In log · Issue #3635 · Sonarr/Sonarr - GitHub
It looks like your DB is readonly to the user running Sonarr or corrupt in some way. All reactions.
Read more >Xiaomi MiWiFi component for tracking devices and managing ...
MiWiFi for Home Assistant The component allows you to monitor devices and manage routers based on MiWiFi from Home Assistant.
Read more >GMAT Error Log : General GMAT Questions and Strategies
The purpose of an error log is to keep track of your mistakes. You can use one of these fancy spreadsheets, you can...
Read more >Log system - GitLab Docs
log. It logs information related to certificate-based clusters, such as connectivity errors. Each line contains JSON that can be ingested by services like ......
Read more >error-logging - npm search
Special Logging and Error Notification functions that use various colors and create links to the target code. Also includes a global Debugger Object...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The problem should be fixed now (see the PR).
I had never actually tried switching on and off the switch after I made the change to async… My bad.
I can indeed also reproduce the issue. The code in the pull request fixes another problem actually.
I will post a fix in a few hours!