Integrations h* - i*: Rename HomeAssistantType to HomeAssistant. (#49587)

This commit is contained in:
jan iversen
2021-04-23 10:11:58 +02:00
committed by GitHub
parent a396619251
commit 9685cefba4
26 changed files with 143 additions and 156 deletions

View File

@@ -26,9 +26,8 @@ from homeassistant.components.binary_sensor import (
BinarySensorEntity,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import callback
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers.event import async_track_point_in_utc_time
from homeassistant.helpers.typing import HomeAssistantType
from homeassistant.util import dt as dt_util
from .const import (
@@ -60,7 +59,7 @@ DEVICE_PARENT_REQUIRED = [
async def async_setup_entry(
hass: HomeAssistantType,
hass: HomeAssistant,
entry: ConfigEntry,
async_add_entities: Callable[[list], None],
) -> bool: