Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.knx.schema.EventSchema Class Reference

EVENT. More...

Static Public Attributes

 KNX_EVENT_FILTER_SCHEMA
 
dictionary SCHEMA
 

Detailed Description

EVENT.

Voluptuous schema for KNX events.

Definition at line 172 of file schema.py.

Member Data Documentation

◆ KNX_EVENT_FILTER_SCHEMA

homeassistant.components.knx.schema.EventSchema.KNX_EVENT_FILTER_SCHEMA
static
Initial value:
= vol.Schema(
{
vol.Required(KNX_ADDRESS): vol.All(cv.ensure_list, [cv.string]),
vol.Optional(CONF_TYPE): dpt_base_type_validator,
}
)

Definition at line 175 of file schema.py.

◆ SCHEMA

dictionary homeassistant.components.knx.schema.EventSchema.SCHEMA
static
Initial value:
= {
vol.Optional(CONF_EVENT, default=[]): vol.All(
cv.ensure_list, [KNX_EVENT_FILTER_SCHEMA]
)
}

Definition at line 182 of file schema.py.


The documentation for this class was generated from the following file: