Multiple errors in log
See original GitHub issueI’m receiving multiple errors in the log:
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/adaptive_lighting/switch.py:1220
Integration: Adaptive Lighting
First occurred: July 1, 2021, 5:59:50 PM (66 occurrences)
Last logged: 8:08:07 AM
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/adaptive_lighting/switch.py", line 1220, in turn_on_off_event_listener
entity_ids = cv.ensure_list_csv(service_data[ATTR_ENTITY_ID])
KeyError: 'entity_id'
I do have a motion sensor setup that I may believe could be the culprit.
Any suggestions on debugging?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Python Logging Multiple Errors on Single Line - Stack Overflow
I'm trying to log some expected errors. Initially, I wrote my script like: except (BadZipFile, MemoryError) as e: logger.error(f ...
Read more >Terraform errors are swallowed with "error" log level and run-all
Terraform errors are swallowed with "error" log level and run-all #1626 ... errors: Hit multiple errors: exit status 1 > terragrunt run-all ......
Read more >Question: Use Document Cache for Logging Multiple Errors
I have to combine all these errors into one (say concatenate them into one string) and log the error and processed status (Yes...
Read more >Multiple Errors VIs - NI - National Instruments
Multiple Errors VIs ; Write Error Cluster Attribute, Updates the value of an attribute stored in an error cluster. If the specified attribute ......
Read more >Handle errors in ASP.NET Core Blazor apps - Microsoft Learn
NET Core Blazor manages unhandled exceptions and how to develop apps that ... Not all errors should be treated as incidents for logging....
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 Free
Top 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
I also saw this error, and have identified that it is caused by automations calling light.turn_on or light.turn_off against a device. A work around is to change this to a call against an entity instead.
Possibly caused by the control detection code expecting to always see an entity?
(It may also be occurring with areas being turned on and off, but I don’t use areas.)
Yeah, I get this:
When I trigger an automation.
Configure like so: Action: Call service: light.turn_off: pick device(s)… : transition, 5 sec Action: Call service: light.turn_on: pick device(s)… : transition, 5 sec
no properties set when I use turn_on (except transition)