kukulich / home-assistant-jablotron100

Home Assistant custom component for JABLOTRON 100+ alarm system
MIT License
65 stars 24 forks source link

Read error: list changed size during iteration #61

Closed DarkWarden85 closed 1 year ago

DarkWarden85 commented 1 year ago

Hi

I found the following error when checking my logs:

This error originated from a custom integration.

Logger: custom_components.jablotron100 Source: custom_components/jablotron100/jablotron.py:1027 Integration: Jablotron 100 (documentation, issues) First occurred: 11:03:26 (1 occurrences) Last logged: 11:03:26

Read error: list changed size during iteration

This happens on the following version of home assistant:

Any idea what this error could be? My alarm system seems to work fine though.

kukulich commented 1 year ago

Please find the complete log.

DarkWarden85 commented 1 year ago

I'm sorry, where can I find the complete log? This is the only entry I can find in the complete system log:

2023-01-10 11:03:26.138 ERROR (ThreadPoolExecutor-2_0) [custom_components.jablotron100] Read error: list changed size during iteration

DarkWarden85 commented 1 year ago

I tried downloading diagnostics data, but it doesn't work:

image

This problem doesn't occur with any other integration I have. I would really like to provide you with further data regarding this issue, but I have no idea how to do so

DarkWarden85 commented 1 year ago

Finally I was able to download the diagnostics data. Turns out one of my devices had no type. After assigning the correct type, I coulkd finally download the diagnostics data: config_entry-jablotron100-4630613b72ccd6175a470733d7a98eaf.json.txt

Maybe the undefined type was already the source of the problem?

kukulich commented 1 year ago

Maybe the undefined type was already the source of the problem?

I may be because noone else reported the problem.

DarkWarden85 commented 1 year ago

Ok, I will keep an eye on this and report back whenever the problem should surface again