Rename HomeAssistantType —> HomeAssistant, integrations s* - t* (#49550)
This commit is contained in:
parent
c4c8c67a03
commit
2e084f260e
30 changed files with 103 additions and 111 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue