|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
A single queued operation to be dispatched from loop(). More...
#include <operation_queue.h>
Public Attributes | |
| PendingOperationType | type |
| Operation type (determines which handler to invoke). | |
| std::string | device_id |
| Target device ID (hex string, e.g., "123ABC") — except for the ONEWAY_* types, where it carries the controller-identity handle instead. | |
| 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. | |
A single queued operation to be dispatched from loop().
Definition at line 45 of file operation_queue.h.
| CoverCommand esphome::home_io_control::PendingOperation::command {CoverCommand::STOP} |
Named command for DEVICE_COMMAND operations.
Definition at line 55 of file operation_queue.h.
| std::string esphome::home_io_control::PendingOperation::device_id |
Target device ID (hex string, e.g., "123ABC") — except for the ONEWAY_* types, where it carries the controller-identity handle instead.
1W addresses a device class, not a node, so there is no device ID to put here; the identity is what the operation is bound to. The field is reused rather than duplicated because every queue entry would otherwise grow a second string for the benefit of two operation types.
Definition at line 52 of file operation_queue.h.
| uint8_t esphome::home_io_control::PendingOperation::position {0} |
Position/tilt value (0–100) or binary state (ON=0, OFF=100).
Definition at line 53 of file operation_queue.h.
| uint8_t esphome::home_io_control::PendingOperation::tilt {0} |
Tilt value for SET_POSITION_AND_TILT (0–100).
Definition at line 54 of file operation_queue.h.
| PendingOperationType esphome::home_io_control::PendingOperation::type |
Operation type (determines which handler to invoke).
Definition at line 46 of file operation_queue.h.