|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Hub-level management operations exposed as Home Assistant actions. More...
#include "device_registry.h"#include "diagnostic_probes.h"#include "exchange_engine.h"#include "management_helpers.h"#include "proto_constants.h"#include <cstdint>#include <string>Go to the source code of this file.
Classes | |
| class | esphome::home_io_control::ManagementActions |
| Encapsulates hub-level management operations exposed as Home Assistant actions. More... | |
Namespaces | |
| namespace | esphome |
| namespace | esphome::home_io_control |
Hub-level management operations exposed as Home Assistant actions.
ManagementActions owns the family of advanced, non-entity hub actions (device rename, identify, force-open, ...) and the native API registration that wires them into Home Assistant. The opt-in diagnostic probes live in DiagnosticProbes (diagnostic_probes.h), which ManagementActions owns and registers the two probe actions for. Every action is registered through one data-driven API service descriptor (detail::ManagementServiceDescriptor); adding a new action does not require a new descriptor class. The descriptor holds a ManagementActions* and calls only public methods on it, so no friend declarations into the hub are needed.
IOHomeControlComponent exposes this collaborator through thin protected wrappers (api_rename_device_, api_identify_device_, api_force_open_device_, api_scan_paired_devices_, register_management_actions_).
Definition in file management_actions.h.