Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.knx.schema.ButtonSchema Class Reference
Inheritance diagram for homeassistant.components.knx.schema.ButtonSchema:
[legend]
Collaboration diagram for homeassistant.components.knx.schema.ButtonSchema:
[legend]

Static Public Attributes

string CONF_VALUE = "value"
 
string DEFAULT_NAME = "KNX Button"
 
 ENTITY_SCHEMA
 
tuple length_or_type_msg
 
string payload_or_value_msg = f"Please use only one of `{CONF_PAYLOAD}` or `{CONF_VALUE}`"
 
 PLATFORM = Platform.BUTTON
 

Additional Inherited Members

- Public Member Functions inherited from homeassistant.components.knx.schema.KNXPlatformSchema
dict[vol.Optional, vol.All] platform_node (cls)
 

Detailed Description

Voluptuous schema for KNX buttons.

Definition at line 243 of file schema.py.

Member Data Documentation

◆ CONF_VALUE

string homeassistant.components.knx.schema.ButtonSchema.CONF_VALUE = "value"
static

Definition at line 248 of file schema.py.

◆ DEFAULT_NAME

string homeassistant.components.knx.schema.ButtonSchema.DEFAULT_NAME = "KNX Button"
static

Definition at line 249 of file schema.py.

◆ ENTITY_SCHEMA

homeassistant.components.knx.schema.ButtonSchema.ENTITY_SCHEMA
static

Definition at line 256 of file schema.py.

◆ length_or_type_msg

tuple homeassistant.components.knx.schema.ButtonSchema.length_or_type_msg
static
Initial value:
= (
f"Please use only one of `{CONF_PAYLOAD_LENGTH}` or `{CONF_TYPE}`"
)

Definition at line 252 of file schema.py.

◆ payload_or_value_msg

string homeassistant.components.knx.schema.ButtonSchema.payload_or_value_msg = f"Please use only one of `{CONF_PAYLOAD}` or `{CONF_VALUE}`"
static

Definition at line 251 of file schema.py.

◆ PLATFORM

homeassistant.components.knx.schema.ButtonSchema.PLATFORM = Platform.BUTTON
static

Definition at line 246 of file schema.py.


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