gcobb321 / icloud3_v3

iCloud3 v3, Development Version - This Repo/Version is used for development and testing of new and updated features. It is not the official release of iCloud3 v3, .
MIT License
143 stars 11 forks source link

Detected blocking call to open inside the event loop #306

Open B-Hartley opened 1 month ago

B-Hartley commented 1 month ago

2024.6 beta show this in log. 2024-05-30 17:34:12.807 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'icloud3' at custom_components/icloud3/support/hacs_ic3.py, line 70: with open(hacs_repository_file, 'r') as f: (offender: /config/custom_components/icloud3/support/hacs_ic3.py, line 70: with open(hacs_repository_file, 'r') as f:), please create a bug report at https://github.com/gcobb321/icloud3_v3/issues

gcobb321 commented 1 month ago

I’ll look at that when I get back home. Which will be after 2024.6 is released. Thanks for the info

gcobb321 commented 4 weeks ago

I've changed all of the file handlers i/o to go through ha. It's been running fine on my system for a day.

Unzip icloud3.v3.0.5.2 into the icloud3 directory and restart hHA. icloud3 v3.0.5.2.zip