|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Diagnostic text sensor: what this identity last put on air. More...
#include <platform_oneway_entities.h>
Public Member Functions | |
| void | setup () override |
| Subscribe to the hub's per-command reports. | |
| void | dump_config () override |
| Dump text-sensor configuration to the log. | |
| 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. | |
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} |
Diagnostic text sensor: what this identity last put on air.
This is the only feedback 1W transmit can ever give. There is no reply frame, so a command a device ignored is indistinguishable on the radio from one it obeyed. A user with a wrong key, a desynced counter or a missing enrollment would otherwise see nothing at all — not an error, not a timeout, nothing.
So this sensor deliberately does not claim the device acted, and its text must never be worded as if it did. It reports what the hub transmitted, which is the half that is knowable, and it surfaces the sequence used so a stuck user can judge whether the counter is the problem and whether initial_sequence: needs bumping.
Definition at line 96 of file platform_oneway_entities.h.
|
override |
Dump text-sensor configuration to the log.
Definition at line 51 of file platform_oneway_entities.cpp.
|
inlinenodiscardoverride |
Get setup priority so the parent hub is available first.
Definition at line 108 of file platform_oneway_entities.h.
|
override |
Subscribe to the hub's per-command reports.
Definition at line 39 of file platform_oneway_entities.cpp.