Rename pilight base entity module (#126538)

This commit is contained in:
epenet 2024-09-23 15:09:22 +02:00 committed by GitHub
parent 225266b687
commit 77b2895b0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from .base_class import SWITCHES_SCHEMA, PilightBaseDevice
from .const import CONF_DIMLEVEL_MAX, CONF_DIMLEVEL_MIN
from .entity import SWITCHES_SCHEMA, PilightBaseDevice
LIGHTS_SCHEMA = SWITCHES_SCHEMA.extend(
{

View File

@ -14,7 +14,7 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from .base_class import SWITCHES_SCHEMA, PilightBaseDevice
from .entity import SWITCHES_SCHEMA, PilightBaseDevice
PLATFORM_SCHEMA = SWITCH_PLATFORM_SCHEMA.extend(
{vol.Required(CONF_SWITCHES): vol.Schema({cv.string: SWITCHES_SCHEMA})}