Revert unneeded type annotation in the api integration (#122757)

This commit is contained in:
Erik Montnemery 2024-07-29 10:57:49 +02:00 committed by GitHub
parent 2a5cb8da32
commit 5f5dcec0b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,7 @@ class APICoreStateView(HomeAssistantView):
Home Assistant core is running. Its primary use case is for supervisor Home Assistant core is running. Its primary use case is for supervisor
to check if Home Assistant is running. to check if Home Assistant is running.
""" """
hass: HomeAssistant = request.app[KEY_HASS] hass = request.app[KEY_HASS]
migration = recorder.async_migration_in_progress(hass) migration = recorder.async_migration_in_progress(hass)
live = recorder.async_migration_is_live(hass) live = recorder.async_migration_is_live(hass)
recorder_state = {"migration_in_progress": migration, "migration_is_live": live} recorder_state = {"migration_in_progress": migration, "migration_is_live": live}