Rename Light to LightEntity (#34593)

This commit is contained in:
Erik Montnemery authored and GitHub committed 2020-04-26 18:49:41 +02:00
1 parent 8402363568
commit e4333a7a44
93 files changed
+248 -191

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ from homeassistant.components.light import (
SUPPORT_COLOR,
SUPPORT_COLOR_TEMP,
SUPPORT_WHITE_VALUE,
Light,
LightEntity,
)
from homeassistant.const import (
CONF_ENTITY_ID,
@@ -146,7 +146,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
async_add_entities(lights)
class LightTemplate(Light):
class LightTemplate(LightEntity):
"""Representation of a templated Light, including dimmable."""
def __init__(