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

@ -6,8 +6,8 @@ from typing import Callable
from homeassistant.components.switch import SwitchEntity
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_NAME
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.typing import HomeAssistantType
from . import NZBGetEntity
from .const import DATA_COORDINATOR, DOMAIN
@ -15,7 +15,7 @@ from .coordinator import NZBGetDataUpdateCoordinator
async def async_setup_entry(
hass: HomeAssistantType,
hass: HomeAssistant,
entry: ConfigEntry,
async_add_entities: Callable[[list[Entity], bool], None],
) -> None: