diff --git a/homeassistant/components/cloud/google_config.py b/homeassistant/components/cloud/google_config.py index 42570dfff6e..cf5a1de73af 100644 --- a/homeassistant/components/cloud/google_config.py +++ b/homeassistant/components/cloud/google_config.py @@ -2,6 +2,7 @@ import asyncio from http import HTTPStatus import logging +from typing import Any from hass_nabucasa import Cloud, cloud_api from hass_nabucasa.google_report_state import ErrorResponse @@ -9,7 +10,13 @@ from hass_nabucasa.google_report_state import ErrorResponse from homeassistant.components.google_assistant import DOMAIN as GOOGLE_DOMAIN from homeassistant.components.google_assistant.helpers import AbstractConfig from homeassistant.const import CLOUD_NEVER_EXPOSED_ENTITIES -from homeassistant.core import CoreState, Event, callback, split_entity_id +from homeassistant.core import ( + CoreState, + Event, + HomeAssistant, + callback, + split_entity_id, +) from homeassistant.helpers import device_registry as dr, entity_registry as er, start from homeassistant.setup import async_setup_component @@ -28,8 +35,13 @@ class CloudGoogleConfig(AbstractConfig): """HA Cloud Configuration for Google Assistant.""" def __init__( - self, hass, config, cloud_user: str, prefs: CloudPreferences, cloud: Cloud - ): + self, + hass: HomeAssistant, + config: dict[str, Any], + cloud_user: str, + prefs: CloudPreferences, + cloud: Cloud, + ) -> None: """Initialize the Google config.""" super().__init__(hass) self._config = config