Remove KNX type alias for homeassistant.core types (#48422)

This commit is contained in:
Matthias Alphart 2021-03-27 22:20:11 +01:00 committed by GitHub
parent 3aa2591b0a
commit 051f29f9b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 40 additions and 77 deletions

View file

@ -16,12 +16,9 @@ from homeassistant.components.light import (
SUPPORT_WHITE_VALUE,
LightEntity,
)
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.typing import (
ConfigType,
DiscoveryInfoType,
HomeAssistantType,
)
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
import homeassistant.util.color as color_util
from .const import DOMAIN
@ -34,7 +31,7 @@ DEFAULT_WHITE_VALUE = 255
async def async_setup_platform(
hass: HomeAssistantType,
hass: HomeAssistant,
config: ConfigType,
async_add_entities: Callable[[Iterable[Entity]], None],
discovery_info: DiscoveryInfoType | None = None,