Remove HomeAssistantType alias - Part 3 (#49339)
This commit is contained in:
parent
7a9385d857
commit
006bcde435
40 changed files with 101 additions and 111 deletions
|
@ -21,11 +21,10 @@ from homeassistant.const import (
|
|||
CONF_PROTOCOL,
|
||||
CONF_USERNAME,
|
||||
)
|
||||
from homeassistant.core import CALLBACK_TYPE, callback
|
||||
from homeassistant.core import CALLBACK_TYPE, HomeAssistant, callback
|
||||
from homeassistant.exceptions import ConfigEntryNotReady
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_send
|
||||
from homeassistant.helpers.event import async_track_time_interval
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
|
||||
from homeassistant.util import dt as dt_util
|
||||
|
||||
|
@ -187,7 +186,7 @@ class AsusWrtDevInfo:
|
|||
class AsusWrtRouter:
|
||||
"""Representation of a AsusWrt router."""
|
||||
|
||||
def __init__(self, hass: HomeAssistantType, entry: ConfigEntry) -> None:
|
||||
def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None:
|
||||
"""Initialize a AsusWrt router."""
|
||||
self.hass = hass
|
||||
self._entry = entry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue