mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Integrations h* - i*: Rename HomeAssistantType to HomeAssistant. (#49587)
This commit is contained in:
@@ -26,9 +26,8 @@ from homeassistant.components.binary_sensor import (
|
||||
BinarySensorEntity,
|
||||
)
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
from homeassistant.helpers.event import async_track_point_in_utc_time
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
from homeassistant.util import dt as dt_util
|
||||
|
||||
from .const import (
|
||||
@@ -60,7 +59,7 @@ DEVICE_PARENT_REQUIRED = [
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistantType,
|
||||
hass: HomeAssistant,
|
||||
entry: ConfigEntry,
|
||||
async_add_entities: Callable[[list], None],
|
||||
) -> bool:
|
||||
|
Reference in New Issue
Block a user