Remove HomeAssistantType alias from entity components - Part 1 (#48467)
This commit is contained in:
parent
bb9da22a84
commit
855b68faa1
20 changed files with 60 additions and 76 deletions
|
@ -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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue