core/homeassistant/components/nextbus
Daniel Rozycki 04b0760e27
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: Joost Lekkerkerker <joostlek@outlook.com>
2024-08-18 14:24:44 +02:00
..
__init__.py
config_flow.py
const.py
coordinator.py Skip NextBus update if integration is still loading (#123564) 2024-08-18 14:24:44 +02:00
icons.json
manifest.json
sensor.py
strings.json
util.py