From 5f5dcec0b91e938f8316402a238f9d4a4b1982bb Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 29 Jul 2024 10:57:49 +0200 Subject: [PATCH] Revert unneeded type annotation in the api integration (#122757) --- homeassistant/components/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/api/__init__.py b/homeassistant/components/api/__init__.py index 9572ed3fbd1..b794b60b33d 100644 --- a/homeassistant/components/api/__init__.py +++ b/homeassistant/components/api/__init__.py @@ -118,7 +118,7 @@ class APICoreStateView(HomeAssistantView): Home Assistant core is running. Its primary use case is for supervisor 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) live = recorder.async_migration_is_live(hass) recorder_state = {"migration_in_progress": migration, "migration_is_live": live}