Rename Light to LightEntity (#34593)

This commit is contained in:
Erik Montnemery 2020-04-26 18:49:41 +02:00 committed by GitHub
parent 8402363568
commit e4333a7a44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
93 changed files with 248 additions and 191 deletions

View file

@ -7,7 +7,7 @@ from homeassistant.components.light import (
SUPPORT_BRIGHTNESS,
SUPPORT_COLOR,
SUPPORT_COLOR_TEMP,
Light,
LightEntity,
)
from homeassistant.util import color as colorutil
@ -31,7 +31,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
add_entities(devices)
class TuyaLight(TuyaDevice, Light):
class TuyaLight(TuyaDevice, LightEntity):
"""Tuya light device."""
def __init__(self, tuya):