Make restore state started a callback function (#113110)

This commit is contained in:
J. Nick Koston 2024-03-11 14:25:15 -10:00 committed by GitHub
parent 6e59d1cb29
commit b87036eebe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()