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

Static Public Attributes

string CONF_MAX_STEP = "max_step"
 
string CONF_OSCILLATION_ADDRESS = "oscillation_address"
 
string CONF_OSCILLATION_STATE_ADDRESS = "oscillation_state_address"
 
 CONF_STATE_ADDRESS = CONF_STATE_ADDRESS
 
string DEFAULT_NAME = "KNX Fan"
 
 ENTITY_SCHEMA
 
 PLATFORM = Platform.FAN
 

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 fans.

Definition at line 582 of file schema.py.

Member Data Documentation

◆ CONF_MAX_STEP

string homeassistant.components.knx.schema.FanSchema.CONF_MAX_STEP = "max_step"
static

Definition at line 590 of file schema.py.

◆ CONF_OSCILLATION_ADDRESS

string homeassistant.components.knx.schema.FanSchema.CONF_OSCILLATION_ADDRESS = "oscillation_address"
static

Definition at line 588 of file schema.py.

◆ CONF_OSCILLATION_STATE_ADDRESS

string homeassistant.components.knx.schema.FanSchema.CONF_OSCILLATION_STATE_ADDRESS = "oscillation_state_address"
static

Definition at line 589 of file schema.py.

◆ CONF_STATE_ADDRESS

homeassistant.components.knx.schema.FanSchema.CONF_STATE_ADDRESS = CONF_STATE_ADDRESS
static

Definition at line 587 of file schema.py.

◆ DEFAULT_NAME

string homeassistant.components.knx.schema.FanSchema.DEFAULT_NAME = "KNX Fan"
static

Definition at line 592 of file schema.py.

◆ ENTITY_SCHEMA

homeassistant.components.knx.schema.FanSchema.ENTITY_SCHEMA
static
Initial value:
= vol.Schema(
{
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
vol.Required(KNX_ADDRESS): ga_list_validator,
vol.Optional(CONF_STATE_ADDRESS): ga_list_validator,
vol.Optional(CONF_OSCILLATION_ADDRESS): ga_list_validator,
vol.Optional(CONF_OSCILLATION_STATE_ADDRESS): ga_list_validator,
vol.Optional(CONF_MAX_STEP): cv.byte,
vol.Optional(CONF_ENTITY_CATEGORY): ENTITY_CATEGORIES_SCHEMA,
}
)

Definition at line 594 of file schema.py.

◆ PLATFORM

homeassistant.components.knx.schema.FanSchema.PLATFORM = Platform.FAN
static

Definition at line 585 of file schema.py.


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