mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Revert unneeded type annotation in the api integration (#122757)
This commit is contained in:
@@ -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}
|
||||||
|
Reference in New Issue
Block a user