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

How a OneWayButtonAction reaches the wire. More...

#include <oneway_controller.h>

Collaboration diagram for esphome::home_io_control::OneWayActionEncoding:

Public Attributes

bool is_position {false}
 True when the action is sent as a numeric position.
uint8_t position {0}
 Position to send when is_position.
CoverCommand command {CoverCommand::STOP}
 Named command to send otherwise.

Detailed Description

How a OneWayButtonAction reaches the wire.

Definition at line 176 of file oneway_controller.h.

Member Data Documentation

◆ command

CoverCommand esphome::home_io_control::OneWayActionEncoding::command {CoverCommand::STOP}

Named command to send otherwise.

Definition at line 179 of file oneway_controller.h.

◆ is_position

bool esphome::home_io_control::OneWayActionEncoding::is_position {false}

True when the action is sent as a numeric position.

Definition at line 177 of file oneway_controller.h.

◆ position

uint8_t esphome::home_io_control::OneWayActionEncoding::position {0}

Position to send when is_position.

Definition at line 178 of file oneway_controller.h.


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