Rename HomeAssistantType —> HomeAssistant, integrations s* - t* (#49550)

This commit is contained in:
jan iversen 2021-04-22 16:21:38 +02:00 committed by GitHub
parent c4c8c67a03
commit 2e084f260e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 103 additions and 111 deletions

View file

@ -24,7 +24,7 @@ from homeassistant.components.climate.const import (
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS
from homeassistant.helpers.typing import HomeAssistantType
from homeassistant.core import HomeAssistant
from .const import DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP, DOMAIN
from .helpers import toon_exception_handler
@ -32,7 +32,7 @@ from .models import ToonDisplayDeviceEntity
async def async_setup_entry(
hass: HomeAssistantType, entry: ConfigEntry, async_add_entities
hass: HomeAssistant, entry: ConfigEntry, async_add_entities
) -> None:
"""Set up a Toon binary sensors based on a config entry."""
coordinator = hass.data[DOMAIN][entry.entry_id]