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

@@ -13,7 +13,7 @@ from homeassistant.components.light import (
SUPPORT_COLOR,
SUPPORT_COLOR_TEMP,
SUPPORT_TRANSITION,
Light,
LightEntity,
)
import homeassistant.util.color as color_util
@@ -61,7 +61,7 @@ def convert_scale(value, value_scale, target_scale, round_digits=4):
return round(value * target_scale / value_scale, round_digits)
class SmartThingsLight(SmartThingsEntity, Light):
class SmartThingsLight(SmartThingsEntity, LightEntity):
"""Define a SmartThings Light."""
def __init__(self, device):