mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 02:19:31 +00:00
Remove HomeAssistantType alias from entity components - Part 1 (#48467)
This commit is contained in:
@@ -15,10 +15,9 @@ from homeassistant.components.alexa import (
|
||||
)
|
||||
from homeassistant.components.google_assistant import const as gc, smart_home as ga
|
||||
from homeassistant.const import HTTP_OK
|
||||
from homeassistant.core import Context, callback
|
||||
from homeassistant.core import Context, HomeAssistant, callback
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_send
|
||||
from homeassistant.helpers.event import async_call_later
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
from homeassistant.util.aiohttp import MockRequest
|
||||
|
||||
from . import alexa_config, google_config, utils
|
||||
@@ -31,7 +30,7 @@ class CloudClient(Interface):
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
hass: HomeAssistantType,
|
||||
hass: HomeAssistant,
|
||||
prefs: CloudPreferences,
|
||||
websession: aiohttp.ClientSession,
|
||||
alexa_user_config: dict[str, Any],
|
||||
|
||||
Reference in New Issue
Block a user