-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error doing job: Task exception was never retrieved #283
Comments
still happening, even after recent updates. |
Same here |
this error keeps turning back on the lights after I've turned them OFF via an automation or group |
Triage NotesI did some digging and discovered the issue happens on when an Automation that turns on the lights uses an Here is an example event that fails:
And here is one that is fine:
Here id the problematic code: service = event.data[ATTR_SERVICE]
service_data = event.data[ATTR_SERVICE_DATA]
entity_ids = cv.ensure_list_csv(service_data[ATTR_ENTITY_ID]) This code only attempts to read WorkaroundUpdate all Automations to use Entities and not Areas. You can switch to the new Entity Groups which would allow controlling a collection of entities at the same time which are similar to using Areas. |
Thank you for your triage. I hope the code gets updated as it would be a nightmare to use entity_id in my automations.. |
@RubenKelevra is there anything that we can do to have this issue addressed? |
@cinghialino well, does it break anything for you? I mean if it's just a logged error I wouldn't want to invest the time to debug and fix and and rather work on the rewrite of the whole output-module which obviously will replace the code causing this. |
Well, it does break stuff. Every time I send a turn_off, the lights are turning off but after a few seconds they turn back on. If I disable adaptive lighting or take out lights from it, everything works fine. It doesn't happen when I use entity_id, but as mentioned above, it's very inconvenient to use that to control lights of an entire area. |
Can we please have the code updated to use areas instead of entities? |
@cinghialino, I'll happily accept and review your pull request 😃 |
I've had this error log for a good while, but good to know it's not causing any issues other than an error log. I personally have far too many automations going on with area's to switch to the groups workaround, but thanks for detailing @jls5177 I think #75 is also a duplicate of this for what it's worth. |
I guess this won't be fixed. I give up. |
I fixed the problem in PR #321. I will release 1.0.17 in a few minutes 🎉 |
Thanks @basnijholt, can confirm the issue is resolved. |
Version information:
Adaptive Lighting Release 1.0.15
installed on a Raspberry Pi 4 with
Home Assistant Core 2022.5.2
Home Assistant Supervisor 2022.05.0
Home Assistant OS 7.6
Description:
there is this error lingering around my logs, everything seems to be working, but this error keeps coming up several times (most I've checked was 56 times) and it seems adding on itself indefinitely.
Can't figure out what causes it.
Error message:
The text was updated successfully, but these errors were encountered: