Move and rename fibaro base entity to separate module (#126055)
This commit is contained in:
parent
4c5535d1cc
commit
45f2198972
10 changed files with 160 additions and 146 deletions
|
@ -22,8 +22,9 @@ from homeassistant.const import Platform
|
|||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from . import FibaroController, FibaroDevice
|
||||
from . import FibaroController
|
||||
from .const import DOMAIN
|
||||
from .entity import FibaroEntity
|
||||
|
||||
PARALLEL_UPDATES = 2
|
||||
|
||||
|
@ -62,7 +63,7 @@ async def async_setup_entry(
|
|||
)
|
||||
|
||||
|
||||
class FibaroLight(FibaroDevice, LightEntity):
|
||||
class FibaroLight(FibaroEntity, LightEntity):
|
||||
"""Representation of a Fibaro Light, including dimmable."""
|
||||
|
||||
def __init__(self, fibaro_device: DeviceModel) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue