mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Deprecate calling async_listen and async_listen_once with run_immediately (#115169)
This commit is contained in:
@@ -252,7 +252,7 @@ class RestoreStateData:
|
||||
|
||||
# Dump states when stopping hass
|
||||
self.hass.bus.async_listen_once(
|
||||
EVENT_HOMEASSISTANT_STOP, _async_dump_states_at_stop, run_immediately=True
|
||||
EVENT_HOMEASSISTANT_STOP, _async_dump_states_at_stop
|
||||
)
|
||||
|
||||
@callback
|
||||
|
||||
Reference in New Issue
Block a user