|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Button entity that registers a configured controller identity as a 1W controller. More...
#include <platform_oneway_entities.h>
Public Member Functions | |
| void | setup () override |
| void | dump_config () override |
| float | get_setup_priority () const override |
| Get setup priority so the parent hub is available first. | |
| Public Member Functions inherited from esphome::home_io_control::OneWayControllerBound | |
| 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 Member Functions | |
| void | press_action () override |
| Queue the enrollment. | |
Additional Inherited Members | |
| Protected Attributes inherited from esphome::home_io_control::OneWayControllerBound | |
| std::string | controller_id_ |
| Protected Attributes inherited from esphome::home_io_control::HubBoundEntity | |
| IOHomeControlComponent * | parent_ {nullptr} |
Button entity that registers a configured controller identity as a 1W controller.
A press sends 0x39 then 0x30, back to back (OneWayTransmitter::send_enrollment()) — the documented 1W pairing handshake. The receiver's half of enrollment is a physical 2s PROG hold on the actuator itself; that physical requirement is the real interlock against a stray or unintended enrollment, not a software arming switch — see ADR 0026.
Definition at line 69 of file platform_oneway_entities.h.
|
override |
Definition at line 34 of file platform_oneway_entities.cpp.
|
inlinenodiscardoverride |
Get setup priority so the parent hub is available first.
Definition at line 76 of file platform_oneway_entities.h.
|
inlineoverrideprotected |
Queue the enrollment.
It goes through the operation queue like all radio work, so it cannot interleave with a 2W exchange (ADR 0013).
Definition at line 81 of file platform_oneway_entities.h.
|
inlineoverride |
Definition at line 71 of file platform_oneway_entities.h.