Skip to content
Snippets Groups Projects
Unverified Commit 04b0760e authored by Daniel Rozycki's avatar Daniel Rozycki Committed by GitHub
Browse files

Skip NextBus update if integration is still loading (#123564)


* Skip NextBus update if integration is still loading

Fixes a race between the loading thread and
update thread leading to an unrecoverable error

* Use async_at_started

* Use local copy of _route_stops to avoid NextBus race condition

* Update homeassistant/components/nextbus/coordinator.py

---------

Co-authored-by: default avatarJoost Lekkerkerker <joostlek@outlook.com>
parent e3287b93
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment