Rename Light to LightEntity (#34593)
This commit is contained in:
parent
8402363568
commit
e4333a7a44
93 changed files with 248 additions and 191 deletions
|
@ -10,7 +10,7 @@ from homeassistant.components.light import (
|
|||
SUPPORT_BRIGHTNESS,
|
||||
SUPPORT_COLOR,
|
||||
SUPPORT_COLOR_TEMP,
|
||||
Light,
|
||||
LightEntity,
|
||||
)
|
||||
from homeassistant.core import callback
|
||||
|
||||
|
@ -35,7 +35,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||
conn.add_listener(async_add_service)
|
||||
|
||||
|
||||
class HomeKitLight(HomeKitEntity, Light):
|
||||
class HomeKitLight(HomeKitEntity, LightEntity):
|
||||
"""Representation of a Homekit light."""
|
||||
|
||||
def get_characteristic_types(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue