Make restore state started a callback function (#113110)
This commit is contained in:
parent
6e59d1cb29
commit
b87036eebe
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue