from ..const import CONF_CONTEXT_TIMEOUT as CONF_CONTEXT_TIMEOUT, CONF_IGNORE_INTERNAL_STATE as CONF_IGNORE_INTERNAL_STATE, CONF_INVERT as CONF_INVERT, CONF_RESET_AFTER as CONF_RESET_AFTER, CONF_RESPOND_TO_READ as CONF_RESPOND_TO_READ, CONF_SYNC_STATE as CONF_SYNC_STATE, ClimateConf as ClimateConf, ColorTempModes as ColorTempModes, CoverConf as CoverConf, DOMAIN as DOMAIN, FanConf as FanConf, FanZeroMode as FanZeroMode, NumberConf as NumberConf, SUPPORTED_PLATFORMS_UI as SUPPORTED_PLATFORMS_UI, SceneConf as SceneConf
from ..dpt import get_supported_dpts as get_supported_dpts
from ..validation import validate_number_attributes as validate_number_attributes, validate_sensor_attributes as validate_sensor_attributes
from .const import CONF_ALWAYS_CALLBACK as CONF_ALWAYS_CALLBACK, CONF_COLOR as CONF_COLOR, CONF_COLOR_TEMP_MAX as CONF_COLOR_TEMP_MAX, CONF_COLOR_TEMP_MIN as CONF_COLOR_TEMP_MIN, CONF_DATA as CONF_DATA, CONF_DEVICE_INFO as CONF_DEVICE_INFO, CONF_DPT as CONF_DPT, CONF_ENTITY as CONF_ENTITY, CONF_GA_ACTIVE as CONF_GA_ACTIVE, CONF_GA_ANGLE as CONF_GA_ANGLE, CONF_GA_BLUE_BRIGHTNESS as CONF_GA_BLUE_BRIGHTNESS, CONF_GA_BLUE_SWITCH as CONF_GA_BLUE_SWITCH, CONF_GA_BRIGHTNESS as CONF_GA_BRIGHTNESS, CONF_GA_COLOR as CONF_GA_COLOR, CONF_GA_COLOR_TEMP as CONF_GA_COLOR_TEMP, CONF_GA_CONTROLLER_MODE as CONF_GA_CONTROLLER_MODE, CONF_GA_CONTROLLER_STATUS as CONF_GA_CONTROLLER_STATUS, CONF_GA_DATE as CONF_GA_DATE, CONF_GA_DATETIME as CONF_GA_DATETIME, CONF_GA_FAN_SPEED as CONF_GA_FAN_SPEED, CONF_GA_FAN_SWING as CONF_GA_FAN_SWING, CONF_GA_FAN_SWING_HORIZONTAL as CONF_GA_FAN_SWING_HORIZONTAL, CONF_GA_GREEN_BRIGHTNESS as CONF_GA_GREEN_BRIGHTNESS, CONF_GA_GREEN_SWITCH as CONF_GA_GREEN_SWITCH, CONF_GA_HEAT_COOL as CONF_GA_HEAT_COOL, CONF_GA_HUE as CONF_GA_HUE, CONF_GA_HUMIDITY_CURRENT as CONF_GA_HUMIDITY_CURRENT, CONF_GA_ON_OFF as CONF_GA_ON_OFF, CONF_GA_OPERATION_MODE as CONF_GA_OPERATION_MODE, CONF_GA_OP_MODE_COMFORT as CONF_GA_OP_MODE_COMFORT, CONF_GA_OP_MODE_ECO as CONF_GA_OP_MODE_ECO, CONF_GA_OP_MODE_PROTECTION as CONF_GA_OP_MODE_PROTECTION, CONF_GA_OP_MODE_STANDBY as CONF_GA_OP_MODE_STANDBY, CONF_GA_OSCILLATION as CONF_GA_OSCILLATION, CONF_GA_POSITION_SET as CONF_GA_POSITION_SET, CONF_GA_POSITION_STATE as CONF_GA_POSITION_STATE, CONF_GA_RED_BRIGHTNESS as CONF_GA_RED_BRIGHTNESS, CONF_GA_RED_SWITCH as CONF_GA_RED_SWITCH, CONF_GA_SATURATION as CONF_GA_SATURATION, CONF_GA_SCENE as CONF_GA_SCENE, CONF_GA_SENSOR as CONF_GA_SENSOR, CONF_GA_SETPOINT_SHIFT as CONF_GA_SETPOINT_SHIFT, CONF_GA_SPEED as CONF_GA_SPEED, CONF_GA_STEP as CONF_GA_STEP, CONF_GA_STOP as CONF_GA_STOP, CONF_GA_SWITCH as CONF_GA_SWITCH, CONF_GA_TEMPERATURE_CURRENT as CONF_GA_TEMPERATURE_CURRENT, CONF_GA_TEMPERATURE_TARGET as CONF_GA_TEMPERATURE_TARGET, CONF_GA_TEXT as CONF_GA_TEXT, CONF_GA_TIME as CONF_GA_TIME, CONF_GA_UP_DOWN as CONF_GA_UP_DOWN, CONF_GA_VALVE as CONF_GA_VALVE, CONF_GA_WHITE_BRIGHTNESS as CONF_GA_WHITE_BRIGHTNESS, CONF_GA_WHITE_SWITCH as CONF_GA_WHITE_SWITCH, CONF_IGNORE_AUTO_MODE as CONF_IGNORE_AUTO_MODE, CONF_SPEED as CONF_SPEED, CONF_TARGET_TEMPERATURE as CONF_TARGET_TEMPERATURE
from .knx_selector import AllSerializeFirst as AllSerializeFirst, GASelector as GASelector, GroupSelect as GroupSelect, GroupSelectOption as GroupSelectOption, KNXSectionFlat as KNXSectionFlat, SyncStateSelector as SyncStateSelector
from _typeshed import Incomplete
from enum import StrEnum
from homeassistant.components.climate import HVACMode as HVACMode
from homeassistant.components.number import NumberDeviceClass as NumberDeviceClass, NumberMode as NumberMode
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorStateClass as SensorStateClass
from homeassistant.components.text import TextMode as TextMode
from homeassistant.const import CONF_DEVICE_CLASS as CONF_DEVICE_CLASS, CONF_ENTITY_CATEGORY as CONF_ENTITY_CATEGORY, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_MODE as CONF_MODE, CONF_NAME as CONF_NAME, CONF_PLATFORM as CONF_PLATFORM, CONF_UNIT_OF_MEASUREMENT as CONF_UNIT_OF_MEASUREMENT, Platform as Platform
from homeassistant.helpers import selector as selector
from homeassistant.helpers.entity import ENTITY_CATEGORIES_SCHEMA as ENTITY_CATEGORIES_SCHEMA
from homeassistant.helpers.typing import VolDictType as VolDictType, VolSchemaType as VolSchemaType

BASE_ENTITY_SCHEMA: Incomplete
BINARY_SENSOR_KNX_SCHEMA: Incomplete
COVER_KNX_SCHEMA: Incomplete
DATE_KNX_SCHEMA: Incomplete
DATETIME_KNX_SCHEMA: Incomplete
FAN_KNX_SCHEMA: Incomplete

class LightColorMode(StrEnum):
    RGB = '232.600'
    RGBW = '251.600'
    XYY = '242.600'

_hs_color_inclusion_msg: str
LIGHT_KNX_SCHEMA: Incomplete

def _number_limit_sub_validator(config: dict) -> dict: ...

NUMBER_KNX_SCHEMA: Incomplete
SCENE_KNX_SCHEMA: Incomplete
SWITCH_KNX_SCHEMA: Incomplete
TEXT_KNX_SCHEMA: Incomplete
TIME_KNX_SCHEMA: Incomplete

class ConfSetpointShiftMode(StrEnum):
    COUNT = '6.010'
    FLOAT = '9.002'

class ConfClimateFanSpeedMode(StrEnum):
    PERCENTAGE = '5.001'
    STEPS = '5.010'

CLIMATE_KNX_SCHEMA: Incomplete

def _sensor_attribute_sub_validator(config: dict) -> dict: ...

SENSOR_KNX_SCHEMA: Incomplete
KNX_SCHEMA_FOR_PLATFORM: Incomplete
ENTITY_STORE_DATA_SCHEMA: VolSchemaType
CREATE_ENTITY_BASE_SCHEMA: VolDictType
UPDATE_ENTITY_BASE_SCHEMA: Incomplete
