Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Non-responsive sensor can block startup #2332
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (
Python release (
Description of problem: A non-responsive sensor can block the startup
I use Home Assistant to control some Edimax switches. One of them became unresponsive. This completely blocked Home Assistant. Even restarting did not work as Home Assistant was hanging in the startup process waiting for a response from the Switch.
In general, reading data from sensors should be non-blocking. A single non-responsive component should not be able to block the whole startup. I don't think this is an issue specific to the Edimax platform, but a general issue that should be solved in the core.
I understand that this isn't a thing to fix with a few lines of code. However, I think in the long run there need to be a change in the core to allow subsystems to work asynchronously. Otherwise problems like this will happen in many complex installations - especially when using external libraries that do not behave well. Blocking I/O is still the default in many libraries.
referenced this issue
Sep 22, 2016
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment