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

A single queued operation to be dispatched from loop(). More...

#include <operation_queue.h>

Collaboration diagram for esphome::home_io_control::PendingOperation:

Public Attributes

PendingOperationType type
 Operation type (determines which handler to invoke).
std::string device_id
 Target device ID (hex string, e.g., "123ABC").
uint8_t position {0}
 Position/tilt value (0–100) or binary state (ON=0, OFF=100).
uint8_t tilt {0}
 Tilt value for SET_POSITION_AND_TILT (0–100).
CoverCommand command {CoverCommand::STOP}
 Named command for DEVICE_COMMAND operations.

Detailed Description

A single queued operation to be dispatched from loop().

Definition at line 41 of file operation_queue.h.

Member Data Documentation

◆ command

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

Named command for DEVICE_COMMAND operations.

Definition at line 46 of file operation_queue.h.

◆ device_id

std::string esphome::home_io_control::PendingOperation::device_id

Target device ID (hex string, e.g., "123ABC").

Definition at line 43 of file operation_queue.h.

◆ position

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

Position/tilt value (0–100) or binary state (ON=0, OFF=100).

Definition at line 44 of file operation_queue.h.

◆ tilt

uint8_t esphome::home_io_control::PendingOperation::tilt {0}

Tilt value for SET_POSITION_AND_TILT (0–100).

Definition at line 45 of file operation_queue.h.

◆ type

PendingOperationType esphome::home_io_control::PendingOperation::type

Operation type (determines which handler to invoke).

Definition at line 42 of file operation_queue.h.


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