Closed Anto79-ops closed 5 months ago
Its likely
homeassistant/config_entries.py- self._async_cancel_retry_setup = hass.bus.async_listen_once(
homeassistant/config_entries.py: EVENT_HOMEASSISTANT_STARTED,
homeassistant/config_entries.py- functools.partial(self._async_setup_again, hass),
homeassistant/config_entries.py- )
or
homeassistant/helpers/entity_platform.py- self._async_cancel_retry_setup = hass.bus.async_listen_once(
homeassistant/helpers/entity_platform.py: EVENT_HOMEASSISTANT_STARTED, setup_again
homeassistant/helpers/entity_platform.py- )
Being canceled after its fired
There is a race because the coro is scheduled in the event loop the call can't unset self._async_cancel_retry_setup
soon enough because the task doesn't run eagerly
The problem
hello,
updating to 2024.3.0b0 and this logs appears
CC @bd
What version of Home Assistant Core has the issue?
2024.3.0b0
What was the last working version of Home Assistant Core?
2024.2.x
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response