Remove HomeAssistantType alias - Part 3 (#49339)

This commit is contained in:
Franck Nijhof 2021-04-17 12:48:03 +02:00 committed by GitHub
parent 7a9385d857
commit 006bcde435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 101 additions and 111 deletions

View file

@ -7,14 +7,14 @@ from homeassistant.components.cover import (
CoverEntity,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.helpers.typing import HomeAssistantType
from homeassistant.core import HomeAssistant
from .const import DOMAIN
from .devolo_multi_level_switch import DevoloMultiLevelSwitchDeviceEntity
async def async_setup_entry(
hass: HomeAssistantType, entry: ConfigEntry, async_add_entities
hass: HomeAssistant, entry: ConfigEntry, async_add_entities
) -> None:
"""Get all cover devices and setup them via config entry."""
entities = []