Voluptuous schema for KNX lights.
Definition at line 607 of file schema.py.
◆ _hs_color_inclusion_msg
| tuple homeassistant.components.knx.schema.LightSchema._hs_color_inclusion_msg |
|
staticprivate |
Initial value:= (
"'hue_address', 'saturation_address' and 'brightness_address'"
" are required for hs_color configuration"
)
Definition at line 642 of file schema.py.
◆ CONF_BLUE
| string homeassistant.components.knx.schema.LightSchema.CONF_BLUE = "blue" |
|
static |
◆ CONF_BRIGHTNESS_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_BRIGHTNESS_ADDRESS = "brightness_address" |
|
static |
◆ CONF_BRIGHTNESS_STATE_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_BRIGHTNESS_STATE_ADDRESS = "brightness_state_address" |
|
static |
◆ CONF_COLOR_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_COLOR_ADDRESS = "color_address" |
|
static |
◆ CONF_COLOR_STATE_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_COLOR_STATE_ADDRESS = "color_state_address" |
|
static |
◆ CONF_COLOR_TEMP_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_COLOR_TEMP_ADDRESS = "color_temperature_address" |
|
static |
◆ CONF_COLOR_TEMP_MODE
| string homeassistant.components.knx.schema.LightSchema.CONF_COLOR_TEMP_MODE = "color_temperature_mode" |
|
static |
◆ CONF_COLOR_TEMP_STATE_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_COLOR_TEMP_STATE_ADDRESS = "color_temperature_state_address" |
|
static |
◆ CONF_GREEN
| string homeassistant.components.knx.schema.LightSchema.CONF_GREEN = "green" |
|
static |
◆ CONF_HUE_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_HUE_ADDRESS = "hue_address" |
|
static |
◆ CONF_HUE_STATE_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_HUE_STATE_ADDRESS = "hue_state_address" |
|
static |
◆ CONF_INDIVIDUAL_COLORS
| string homeassistant.components.knx.schema.LightSchema.CONF_INDIVIDUAL_COLORS = "individual_colors" |
|
static |
◆ CONF_MAX_KELVIN
| string homeassistant.components.knx.schema.LightSchema.CONF_MAX_KELVIN = "max_kelvin" |
|
static |
◆ CONF_MIN_KELVIN
| string homeassistant.components.knx.schema.LightSchema.CONF_MIN_KELVIN = "min_kelvin" |
|
static |
◆ CONF_RED
| string homeassistant.components.knx.schema.LightSchema.CONF_RED = "red" |
|
static |
◆ CONF_RGBW_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_RGBW_ADDRESS = "rgbw_address" |
|
static |
◆ CONF_RGBW_STATE_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_RGBW_STATE_ADDRESS = "rgbw_state_address" |
|
static |
◆ CONF_SATURATION_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_SATURATION_ADDRESS = "saturation_address" |
|
static |
◆ CONF_SATURATION_STATE_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_SATURATION_STATE_ADDRESS = "saturation_state_address" |
|
static |
◆ CONF_STATE_ADDRESS
| homeassistant.components.knx.schema.LightSchema.CONF_STATE_ADDRESS = CONF_STATE_ADDRESS |
|
static |
◆ CONF_WHITE
| string homeassistant.components.knx.schema.LightSchema.CONF_WHITE = "white" |
|
static |
◆ CONF_XYY_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_XYY_ADDRESS = "xyy_address" |
|
static |
◆ CONF_XYY_STATE_ADDRESS
| string homeassistant.components.knx.schema.LightSchema.CONF_XYY_STATE_ADDRESS = "xyy_state_address" |
|
static |
◆ DEFAULT_COLOR_TEMP_MODE
| string homeassistant.components.knx.schema.LightSchema.DEFAULT_COLOR_TEMP_MODE = "absolute" |
|
static |
◆ DEFAULT_MAX_KELVIN
| int homeassistant.components.knx.schema.LightSchema.DEFAULT_MAX_KELVIN = 6000 |
|
static |
◆ DEFAULT_MIN_KELVIN
| int homeassistant.components.knx.schema.LightSchema.DEFAULT_MIN_KELVIN = 2700 |
|
static |
◆ DEFAULT_NAME
| string homeassistant.components.knx.schema.LightSchema.DEFAULT_NAME = "KNX Light" |
|
static |
◆ ENTITY_SCHEMA
| homeassistant.components.knx.schema.LightSchema.ENTITY_SCHEMA |
|
static |
◆ HS_COLOR_SCHEMA
| dictionary homeassistant.components.knx.schema.LightSchema.HS_COLOR_SCHEMA |
|
static |
Initial value:= {
vol.Optional(CONF_HUE_ADDRESS): ga_list_validator,
vol.Optional(CONF_HUE_STATE_ADDRESS): ga_list_validator,
vol.Optional(CONF_SATURATION_ADDRESS): ga_list_validator,
vol.Optional(CONF_SATURATION_STATE_ADDRESS): ga_list_validator,
}
Definition at line 646 of file schema.py.
◆ INDIVIDUAL_COLOR_SCHEMA
| homeassistant.components.knx.schema.LightSchema.INDIVIDUAL_COLOR_SCHEMA |
|
static |
Initial value:= vol.Schema(
{
vol.Optional(KNX_ADDRESS): ga_list_validator,
vol.Optional(CONF_STATE_ADDRESS): ga_list_validator,
vol.Required(CONF_BRIGHTNESS_ADDRESS): ga_list_validator,
vol.Optional(CONF_BRIGHTNESS_STATE_ADDRESS): ga_list_validator,
}
)
Definition at line 653 of file schema.py.
◆ PLATFORM
| homeassistant.components.knx.schema.LightSchema.PLATFORM = Platform.LIGHT |
|
static |
The documentation for this class was generated from the following file: