mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Move devolo home control base entity to separate module (#126042)
This commit is contained in:
parent
e08a94fe1c
commit
8370a55263
@ -14,7 +14,7 @@ from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from . import DevoloHomeControlConfigEntry
|
||||
from .devolo_device import DevoloDeviceEntity
|
||||
from .entity import DevoloDeviceEntity
|
||||
|
||||
DEVICE_CLASS_MAPPING = {
|
||||
"Water alarm": BinarySensorDeviceClass.MOISTURE,
|
||||
|
@ -3,7 +3,7 @@
|
||||
from devolo_home_control_api.devices.zwave import Zwave
|
||||
from devolo_home_control_api.homecontrol import HomeControl
|
||||
|
||||
from .devolo_device import DevoloDeviceEntity
|
||||
from .entity import DevoloDeviceEntity
|
||||
|
||||
|
||||
class DevoloMultiLevelSwitchDeviceEntity(DevoloDeviceEntity):
|
||||
|
@ -15,7 +15,7 @@ from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from . import DevoloHomeControlConfigEntry
|
||||
from .devolo_device import DevoloDeviceEntity
|
||||
from .entity import DevoloDeviceEntity
|
||||
|
||||
DEVICE_CLASS_MAPPING = {
|
||||
"battery": SensorDeviceClass.BATTERY,
|
||||
|
@ -12,7 +12,7 @@ from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from . import DevoloHomeControlConfigEntry
|
||||
from .devolo_device import DevoloDeviceEntity
|
||||
from .entity import DevoloDeviceEntity
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
|
Loading…
x
Reference in New Issue
Block a user