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

@ -31,11 +31,11 @@ from homeassistant.const import (
PRECISION_TENTHS,
TEMP_CELSIUS,
)
from homeassistant.core import callback
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers import entity_platform
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.helpers.temperature import display_temp as show_temp
from homeassistant.helpers.typing import ConfigType, HomeAssistantType
from homeassistant.helpers.typing import ConfigType
from .const import (
DATA_CONFIG,
@ -70,7 +70,7 @@ IZONE_SERVICE_AIRFLOW_SCHEMA = {
async def async_setup_entry(
hass: HomeAssistantType, config: ConfigType, async_add_entities
hass: HomeAssistant, config: ConfigType, async_add_entities
):
"""Initialize an IZone Controller."""
disco = hass.data[DATA_DISCOVERY_SERVICE]