Rename HomeAssistantType —> HomeAssistant for integrations n* - p* (#49559)
This commit is contained in:
parent
c351098f04
commit
34b258e812
27 changed files with 74 additions and 77 deletions
|
@ -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."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue