Move enocean base entity to separate module (#126053)

This commit is contained in:
epenet 2024-09-16 15:19:25 +02:00 committed by GitHub
parent e3e93df187
commit 5a769fb51b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from .device import EnOceanEntity from .entity import EnOceanEntity
DEFAULT_NAME = "EnOcean binary sensor" DEFAULT_NAME = "EnOcean binary sensor"
DEPENDENCIES = ["enocean"] DEPENDENCIES = ["enocean"]

View File

@ -20,7 +20,7 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from .device import EnOceanEntity from .entity import EnOceanEntity
CONF_SENDER_ID = "sender_id" CONF_SENDER_ID = "sender_id"

View File

@ -30,7 +30,7 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from .device import EnOceanEntity from .entity import EnOceanEntity
CONF_MAX_TEMP = "max_temp" CONF_MAX_TEMP = "max_temp"
CONF_MIN_TEMP = "min_temp" CONF_MIN_TEMP = "min_temp"

View File

@ -18,7 +18,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from .const import DOMAIN, LOGGER from .const import DOMAIN, LOGGER
from .device import EnOceanEntity from .entity import EnOceanEntity
CONF_CHANNEL = "channel" CONF_CHANNEL = "channel"
DEFAULT_NAME = "EnOcean Switch" DEFAULT_NAME = "EnOcean Switch"