Remove HomeAssistantType alias - Part 3 (#49339)

This commit is contained in:
Franck Nijhof 2021-04-17 12:48:03 +02:00 committed by GitHub
parent 7a9385d857
commit 006bcde435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 101 additions and 111 deletions

View file

@ -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: