mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 01:07:10 +00:00
Make restore state started a callback function (#113110)
This commit is contained in:
parent
6e59d1cb29
commit
b87036eebe
@ -144,7 +144,8 @@ class RestoreStateData:
|
||||
"""Set up up the instance of this data helper."""
|
||||
await self.async_load()
|
||||
|
||||
async def hass_start(hass: HomeAssistant) -> None:
|
||||
@callback
|
||||
def hass_start(hass: HomeAssistant) -> None:
|
||||
"""Start the restore state task."""
|
||||
self.async_setup_dump()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user