|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Result of a hub-level management action such as rename. More...
#include <management_actions.h>
Public Attributes | |
| bool | success {false} |
| Whether the requested management action succeeded. | |
| bool | verified {false} |
| Whether a follow-up readback confirmed the applied state. | |
| bool | has_result_code {false} |
| True when result_code contains a decoded CMD_ERROR_RESP byte. | |
| uint8_t | result_code {0} |
| Optional CMD_ERROR_RESP result byte. | |
| std::string | action |
| Action name, e.g. "rename_device". | |
| std::string | device_id |
| Target IO-homecontrol device ID. | |
| std::string | message |
| Human-readable outcome summary. | |
| std::string | requested_name |
| Requested normalized UTF-8 name for rename actions. | |
| std::string | applied_name |
| Verified cached UTF-8 name after a readback, when available. | |
Result of a hub-level management action such as rename.
Returned by ManagementActions::rename_device() and re-exported from the hub as IOHomeControlComponent::ManagementActionResult via a public type alias.
Definition at line 35 of file management_actions.h.
| std::string esphome::home_io_control::ManagementActionResult::action |
Action name, e.g. "rename_device".
Definition at line 40 of file management_actions.h.
| std::string esphome::home_io_control::ManagementActionResult::applied_name |
Verified cached UTF-8 name after a readback, when available.
Definition at line 44 of file management_actions.h.
| std::string esphome::home_io_control::ManagementActionResult::device_id |
Target IO-homecontrol device ID.
Definition at line 41 of file management_actions.h.
| bool esphome::home_io_control::ManagementActionResult::has_result_code {false} |
True when result_code contains a decoded CMD_ERROR_RESP byte.
Definition at line 38 of file management_actions.h.
| std::string esphome::home_io_control::ManagementActionResult::message |
Human-readable outcome summary.
Definition at line 42 of file management_actions.h.
| std::string esphome::home_io_control::ManagementActionResult::requested_name |
Requested normalized UTF-8 name for rename actions.
Definition at line 43 of file management_actions.h.
| uint8_t esphome::home_io_control::ManagementActionResult::result_code {0} |
Optional CMD_ERROR_RESP result byte.
Definition at line 39 of file management_actions.h.
| bool esphome::home_io_control::ManagementActionResult::success {false} |
Whether the requested management action succeeded.
Definition at line 36 of file management_actions.h.
| bool esphome::home_io_control::ManagementActionResult::verified {false} |
Whether a follow-up readback confirmed the applied state.
Definition at line 37 of file management_actions.h.