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
|
@ -7,8 +7,8 @@ from typing import Any, Callable
|
|||
from homeassistant.components.sensor import SensorEntity
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import ATTR_LOCATION, DEVICE_CLASS_TIMESTAMP, PERCENTAGE
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
from homeassistant.util.dt import utcnow
|
||||
|
||||
from . import IPPDataUpdateCoordinator, IPPEntity
|
||||
|
@ -27,7 +27,7 @@ from .const import (
|
|||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistantType,
|
||||
hass: HomeAssistant,
|
||||
entry: ConfigEntry,
|
||||
async_add_entities: Callable[[list[Entity], bool], None],
|
||||
) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue