roberodin / ha-samsungtv-custom

📺 HomeAssistant - SamsungTV Custom Component
Apache License 2.0
123 stars 176 forks source link

I/O inside the event loop #63

Closed runandhide05 closed 3 years ago

runandhide05 commented 3 years ago

Stuck in a loop, causing high CPU usage, Error below, configuration.yaml excerpt media_player:

2021-01-03 20:46:13 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 samsungtv_custom doing I/O at custom_components/samsungtv_custom/samsungctl_qled/application.py, line 41: response = requests.get(APP_URL_FORMAT.format(self._ip, APPS[app]), timeout=0.2)

runandhide05 commented 3 years ago

removing the protocol seemed to correct the issue- closed