mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Rename Light to LightEntity (#34593)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user