HA is reporting - Detected I/O inside the event loop
montyha66 opened this issue · 1 comments
IM getting follow in my HA logs. Point is that my HA started to freeze every day the same time.
Can anyone help me pls?
My setup:
HassOS 4.14
Home Assistant Core 0.114.4 as with 115 I faced the issue so I return back to 114
2020-10-20 13:58:44 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for sonoff doing I/O at custom_components/sonoff/init.py, line 175: r = requests.post('https://{}-api.coolkit.cc:8080/api/user/login'.format(self.api_region),
2020-10-20 13:58:45 WARNING (MainThread) [homeassistant.util.async] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for sonoff doing I/O at custom_components/sonoff/init.py, line 372: r = requests.get('https://{}-api.coolkit.cc:8080/api/user/device?lang=en&apiKey={}&getTags=1&version=6&ts=%s&nonce=%s&appid=oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq&imei=%s&os=iOS&model=%s&romVersion=%s&appVersion=%s'.format(
2020-10-20 13:58:47 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for sonoff doing I/O at custom_components/sonoff/init.py, line 221: r = requests.post('https://%s-disp.coolkit.cc:8080/dispatch/app' % self._api_region, headers=self._headers)
2
I did install the async branch https://github.com/peterbuga/HASS-sonoff-ewelink/tree/async-patch/sonoff and so far looks good! Errors disappeared.