mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Save bluetooth passive data eagerly at the stop event (#113648)
This commit is contained in:
parent
6df3e9d7c0
commit
1f9c8694a8
@ -272,7 +272,9 @@ async def async_setup(hass: HomeAssistant) -> None:
|
||||
await _async_save_processor_data(None)
|
||||
|
||||
hass.bus.async_listen_once(
|
||||
EVENT_HOMEASSISTANT_STOP, _async_save_processor_data_at_stop
|
||||
EVENT_HOMEASSISTANT_STOP,
|
||||
_async_save_processor_data_at_stop,
|
||||
run_immediately=True,
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user