|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Mixin for the hub-level entities that additionally scope themselves to one oneway_controllers: identity: the 1W command buttons, the 1W enrollment button, and the per-identity "Last 1W Command" text sensor. More...
#include <platform_entity_base.h>
Public Member Functions | |
| void | set_controller_id (const std::string &id) |
| Set the controller identity this entity acts as / reports on. | |
| Public Member Functions inherited from esphome::home_io_control::HubBoundEntity | |
| void | set_parent (IOHomeControlComponent *parent) |
| Set the parent controller component. | |
Protected Attributes | |
| std::string | controller_id_ |
| Protected Attributes inherited from esphome::home_io_control::HubBoundEntity | |
| IOHomeControlComponent * | parent_ {nullptr} |
Mixin for the hub-level entities that additionally scope themselves to one oneway_controllers: identity: the 1W command buttons, the 1W enrollment button, and the per-identity "Last 1W Command" text sensor.
They act on the hub, not on a paired device, so they are HubBoundEntity plus this one handle. The identity is a oneway_controllers: block entry, not an address in the hub's device table.
Definition at line 210 of file platform_entity_base.h.
|
inline |
Set the controller identity this entity acts as / reports on.
| id | Handle from the oneway_controllers: block. |
Definition at line 214 of file platform_entity_base.h.
|
protected |
Definition at line 217 of file platform_entity_base.h.