Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
esphome::home_io_control::NamedPosition Struct Reference

One named position: its feature bit, its main-parameter value and the command that sends it. More...

#include <proto_device_types.h>

Collaboration diagram for esphome::home_io_control::NamedPosition:

Public Attributes

DeviceFeatures feature
 The bit a device needs to accept it.
uint16_t main_parameter
 Value sent as the EXECUTE main parameter.
CoverCommand command
 The command that sends it.
const char * name
 cover_command_name() of the command ("FAVORITE", "VENT", "PEDESTRIAN", "PARTIAL").

Detailed Description

One named position: its feature bit, its main-parameter value and the command that sends it.

Named positions are main-parameter values defined per actuator profile (VELUX KLF 200 API specification, section 14.2). NAMED_POSITIONS is the only place a value, its bit and its command are paired; the frame builder, the value check, the command names and the Python mirror all derive from it.

Definition at line 200 of file proto_device_types.h.

Member Data Documentation

◆ command

CoverCommand esphome::home_io_control::NamedPosition::command

The command that sends it.

Definition at line 203 of file proto_device_types.h.

◆ feature

DeviceFeatures esphome::home_io_control::NamedPosition::feature

The bit a device needs to accept it.

Definition at line 201 of file proto_device_types.h.

◆ main_parameter

uint16_t esphome::home_io_control::NamedPosition::main_parameter

Value sent as the EXECUTE main parameter.

Definition at line 202 of file proto_device_types.h.

◆ name

const char* esphome::home_io_control::NamedPosition::name

cover_command_name() of the command ("FAVORITE", "VENT", "PEDESTRIAN", "PARTIAL").

Definition at line 204 of file proto_device_types.h.


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