Move knx base entity to separate module (#126102)

* Move knx base entity to separate module

* one more
This commit is contained in:
epenet 2024-09-17 10:15:26 +02:00 committed by GitHub
parent 6eab5e3e14
commit a3155b2ad7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
18 changed files with 17 additions and 17 deletions

View File

@ -24,7 +24,7 @@ from homeassistant.helpers.typing import ConfigType
from . import KNXModule
from .const import ATTR_COUNTER, ATTR_SOURCE, KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
from .schema import BinarySensorSchema

View File

@ -13,7 +13,7 @@ from homeassistant.helpers.typing import ConfigType
from . import KNXModule
from .const import CONF_PAYLOAD_LENGTH, KNX_ADDRESS, KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
async def async_setup_entry(

View File

@ -32,7 +32,7 @@ from homeassistant.helpers.typing import ConfigType
from . import KNXModule
from .const import CONTROLLER_MODES, CURRENT_HVAC_ACTIONS, KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
from .schema import ClimateSchema
ATTR_COMMAND_VALUE = "command_value"

View File

@ -27,7 +27,7 @@ from homeassistant.helpers.typing import ConfigType
from . import KNXModule
from .const import KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
from .schema import CoverSchema

View File

@ -30,7 +30,7 @@ from .const import (
KNX_ADDRESS,
KNX_MODULE_KEY,
)
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
async def async_setup_entry(

View File

@ -31,7 +31,7 @@ from .const import (
KNX_ADDRESS,
KNX_MODULE_KEY,
)
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
async def async_setup_entry(

View File

@ -21,7 +21,7 @@ from homeassistant.util.scaling import int_states_in_range
from . import KNXModule
from .const import KNX_ADDRESS, KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
from .schema import FanSchema
DEFAULT_PERCENTAGE: Final = 50

View File

@ -30,7 +30,7 @@ import homeassistant.util.color as color_util
from . import KNXModule
from .const import CONF_SYNC_STATE, DOMAIN, KNX_ADDRESS, KNX_MODULE_KEY, ColorTempModes
from .knx_entity import KnxUiEntity, KnxUiEntityPlatformController, KnxYamlEntity
from .entity import KnxUiEntity, KnxUiEntityPlatformController, KnxYamlEntity
from .schema import LightSchema
from .storage.const import (
CONF_COLOR_TEMP_MAX,

View File

@ -20,7 +20,7 @@ from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from . import KNXModule
from .const import DOMAIN, KNX_ADDRESS, KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
async def async_get_service(

View File

@ -24,7 +24,7 @@ from homeassistant.helpers.typing import ConfigType
from . import KNXModule
from .const import CONF_RESPOND_TO_READ, CONF_STATE_ADDRESS, KNX_ADDRESS, KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
from .schema import NumberSchema

View File

@ -15,7 +15,7 @@ from homeassistant.helpers.typing import ConfigType
from . import KNXModule
from .const import KNX_ADDRESS, KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
from .schema import SceneSchema

View File

@ -29,7 +29,7 @@ from .const import (
KNX_ADDRESS,
KNX_MODULE_KEY,
)
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
from .schema import SelectSchema

View File

@ -35,7 +35,7 @@ from homeassistant.util.enum import try_parse_enum
from . import KNXModule
from .const import ATTR_SOURCE, KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
from .schema import SensorSchema
SCAN_INTERVAL = timedelta(seconds=10)

View File

@ -35,7 +35,7 @@ from .const import (
KNX_ADDRESS,
KNX_MODULE_KEY,
)
from .knx_entity import KnxUiEntity, KnxUiEntityPlatformController, KnxYamlEntity
from .entity import KnxUiEntity, KnxUiEntityPlatformController, KnxYamlEntity
from .schema import SwitchSchema
from .storage.const import (
CONF_DEVICE_INFO,

View File

@ -24,7 +24,7 @@ from homeassistant.helpers.typing import ConfigType
from . import KNXModule
from .const import CONF_RESPOND_TO_READ, CONF_STATE_ADDRESS, KNX_ADDRESS, KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
async def async_setup_entry(

View File

@ -30,7 +30,7 @@ from .const import (
KNX_ADDRESS,
KNX_MODULE_KEY,
)
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
async def async_setup_entry(

View File

@ -21,7 +21,7 @@ from homeassistant.helpers.typing import ConfigType
from . import KNXModule
from .const import KNX_MODULE_KEY
from .knx_entity import KnxYamlEntity
from .entity import KnxYamlEntity
from .schema import WeatherSchema