Remove HomeAssistantType alias - Part 3 (#49339)
This commit is contained in:
parent
7a9385d857
commit
006bcde435
40 changed files with 101 additions and 111 deletions
|
@ -12,10 +12,10 @@ import voluptuous as vol
|
|||
from homeassistant.components.camera import PLATFORM_SCHEMA, Camera
|
||||
from homeassistant.components.ffmpeg import DATA_FFMPEG
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import config_validation as cv
|
||||
from homeassistant.helpers.aiohttp_client import async_aiohttp_proxy_stream
|
||||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
||||
from homeassistant.util import Throttle
|
||||
|
||||
|
@ -44,7 +44,7 @@ PLATFORM_SCHEMA = vol.All(
|
|||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistantType,
|
||||
hass: HomeAssistant,
|
||||
entry: ConfigEntry,
|
||||
async_add_entities: Callable[[list[Entity], bool], None],
|
||||
) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue