Rename Light to LightEntity (#34593)
This commit is contained in:
1 parent
8402363568
commit
e4333a7a44
93 files changed
+248
-191
No files matched your search
@@ -18,7 +18,7 @@ from homeassistant.components.light import (
|
||||
SUPPORT_COLOR_TEMP,
|
||||
SUPPORT_EFFECT,
|
||||
SUPPORT_TRANSITION,
|
||||
Light,
|
||||
LightEntity,
|
||||
)
|
||||
from homeassistant.const import CONF_HOST
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
@@ -168,7 +168,7 @@ def setup_bridge(bridge, add_entities, config):
|
||||
update_groups()
|
||||
|
||||
|
||||
class Luminary(Light):
|
||||
class Luminary(LightEntity):
|
||||
"""Representation of Luminary Lights and Groups."""
|
||||
|
||||
def __init__(self, luminary, update_func, changed):
|
||||
|
||||
Reference in new issue
Block a user