mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Move enocean base entity to separate module (#126053)
This commit is contained in:
parent
e3e93df187
commit
5a769fb51b
@ -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"]
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user