Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Detected I/O inside the event loop. #28

Open
viprush opened this issue May 24, 2020 · 5 comments
Open

Detected I/O inside the event loop. #28

viprush opened this issue May 24, 2020 · 5 comments

Comments

@viprush
Copy link

viprush commented May 24, 2020

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
Copy link
Collaborator

Please feel free to submit a pr

@viprush
Copy link
Author

viprush commented May 26, 2020

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
Copy link
Collaborator

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

@ViolentPoo
Copy link
Contributor

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
Copy link
Author

viprush commented May 31, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants