mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Revert unneeded type annotation in the api integration (#122757)
This commit is contained in:
parent
2a5cb8da32
commit
5f5dcec0b9
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user