Integrations i* - m*: Rename HomeAssistantType to HomeAssistant. (#49586)
This commit is contained in:
parent
017e32a0cb
commit
d52bc2373f
22 changed files with 94 additions and 98 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue