nguyer / homeassistant-bond-home

38 stars 15 forks source link

Detected I/O inside the event loop. #28

Open viprush opened 4 years ago

viprush commented 4 years ago

homeassistant.util.async Source: util/async.py:120 First occurred: 1:41:18 AM (20 occurrences) Last logged: 1:43:40 AM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for bond doing I/O at custom_components/bond/cover.py, line 64: bondState = self._bond.getDeviceState(self._deviceId)

niemyjski commented 4 years ago

Please feel free to submit a pr

viprush commented 4 years ago

PR? I have seen the Detected I/O inside the event loop error in my HASSIO Dev logs. Over 5000 entries and was wondering if others are seeing the same thing.

niemyjski commented 4 years ago

I have not seen those warnings. A Pull Request (PR) with a fix for these issues.

ViolentPoo commented 4 years ago

What version of HA are you using? A few things changed in 0.110 with the device class, so if you are using a previous version please try updating to the latest. I have checked my logs and can not find anything resembling the error you are describing.

viprush commented 4 years ago

Home Assistant 0.110.4 32bit

I have done the following but I get the same errors in my logs.

  1. Removed the files from custom_components/bond
  2. Delete the entry from my YAML Config.
  3. Delete the devices from Entries
  4. Reboot
  5. Setup (Steps 1-2 reverse order)
  6. reboot

Logger: homeassistant.util.async Source: util/async.py:120 First occurred: 10:30:46 AM (42 occurrences) Last logged: 10:36:04 AM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for bond doing I/O at custom_components/bond/cover.py, line 64: bondState = self._bond.getDeviceState(self._deviceId)

If I disable my Shade entries below the error stops. I get no error with my fan entries.

Large Shades cover.large_shades Bond Home

Small Shades cover.small_shades Bond Home