Rename HomeAssistantType —> HomeAssistant for integrations n* - p* (#49559)

This commit is contained in:
jan iversen 2021-04-22 20:23:19 +02:00 committed by GitHub
parent c351098f04
commit 34b258e812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 74 additions and 77 deletions

View file

@ -15,8 +15,8 @@ from homeassistant.const import (
PERCENTAGE,
TEMP_CELSIUS,
)
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import PlatformNotReady
from homeassistant.helpers.typing import HomeAssistantType
from .const import DATA_SUBSCRIBER, DOMAIN
from .device_info import DeviceInfo
@ -33,7 +33,7 @@ DEVICE_TYPE_MAP = {
async def async_setup_sdm_entry(
hass: HomeAssistantType, entry: ConfigEntry, async_add_entities
hass: HomeAssistant, entry: ConfigEntry, async_add_entities
) -> None:
"""Set up the sensors."""