dlarrick / hass-kumo

Home Assistant module interfacing with Mitsubishi mini-split units
MIT License
97 stars 21 forks source link

Log Warnings in HA 0.110 #22

Closed gregorymartin closed 4 years ago

gregorymartin commented 4 years ago

Hi there, I just checked my logs after the latest release and noticed these two error messages related to this component and wanted to make them aware.

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 kumo doing I/O at custom_components/kumo/__init__.py, line 84: if account.try_setup():

WARNING (MainThread) [homeassistant.components.climate] ClimateDevice is deprecated, modify KumoThermostat to extend ClimateEntity

dlarrick commented 4 years ago

My earlier fix for event-loop IO was insufficient. I'll need to make a change to pykumo, which I was hoping to avoid.

The latter is an easy fix.

I won't have a chance to look at these (which are not hurting anything in the meantime) until this weekend.

gregorymartin commented 4 years ago

No rush, I just wanted to get them on record. Thanks for your work and happy to test for you!

tmchow commented 4 years ago

Yeah I'm having same issue and a ton of logging errors:

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for kumo doing I/O at custom_components/kumo/climate.py, line 126: if self._pykumo.has_dry_mode():
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for kumo doing I/O at custom_components/kumo/climate.py, line 128: if self._pykumo.has_heat_mode():
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for kumo doing I/O at custom_components/kumo/climate.py, line 130: if self._pykumo.has_vent_mode():
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for kumo doing I/O at custom_components/kumo/climate.py, line 132: if self._pykumo.has_auto_mode():
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for kumo doing I/O at custom_components/kumo/climate.py, line 135: if self._pykumo.has_vane_direction():
dlarrick commented 4 years ago

Those messages aren't actually hurting anything, but I hope to have a look at fixing them this weekend.

dlarrick commented 4 years ago

Fixed