mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Remove HomeAssistantType alias - Part 3 (#49339)
This commit is contained in:
@@ -5,14 +5,14 @@ from homeassistant.components.light import (
|
||||
LightEntity,
|
||||
)
|
||||
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 light devices and setup them via config entry."""
|
||||
entities = []
|
||||
|
||||
Reference in New Issue
Block a user