Integrations i* - m*: Rename HomeAssistantType to HomeAssistant. (#49586)

This commit is contained in:
jan iversen 2021-04-23 09:55:20 +02:00 committed by GitHub
parent 017e32a0cb
commit d52bc2373f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 94 additions and 98 deletions

View file

@ -7,8 +7,8 @@ from typing import Any, Callable
from homeassistant.components.sensor import SensorEntity
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_LOCATION, DEVICE_CLASS_TIMESTAMP, PERCENTAGE
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.typing import HomeAssistantType
from homeassistant.util.dt import utcnow
from . import IPPDataUpdateCoordinator, IPPEntity
@ -27,7 +27,7 @@ from .const import (
async def async_setup_entry(
hass: HomeAssistantType,
hass: HomeAssistant,
entry: ConfigEntry,
async_add_entities: Callable[[list[Entity], bool], None],
) -> None: