|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Diagnostic text sensor that publishes PairingTelemetry::result_sensor_string() after every pairing attempt. More...
#include <platform_pairing_result_text_sensor.h>
Public Member Functions | |
| void | set_parent (IOHomeControlComponent *parent) |
| Set the parent controller component. | |
| void | setup () override |
| Register the pairing-result callback. | |
| 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. | |
Protected Member Functions | |
| void | on_pairing_result_ () |
| Publish the latest pairing telemetry result string. | |
Protected Attributes | |
| IOHomeControlComponent * | parent_ {nullptr} |
Diagnostic text sensor that publishes PairingTelemetry::result_sensor_string() after every pairing attempt.
The published string is the frozen v1;... format documented on PairingTelemetry::result_sensor_string() — the Phase 2 automated-rig read-back contract. Nothing is published before the first pairing attempt of this boot.
Definition at line 21 of file platform_pairing_result_text_sensor.h.
|
override |
Dump text-sensor configuration to the log.
Definition at line 21 of file platform_pairing_result_text_sensor.cpp.
|
inlinenodiscardoverride |
Get setup priority so the parent hub is available first.
Definition at line 35 of file platform_pairing_result_text_sensor.h.
|
protected |
Publish the latest pairing telemetry result string.
Definition at line 23 of file platform_pairing_result_text_sensor.cpp.
|
inline |
Set the parent controller component.
| parent | Pointer to the IOHomeControlComponent instance. |
Definition at line 25 of file platform_pairing_result_text_sensor.h.
|
override |
Register the pairing-result callback.
Definition at line 14 of file platform_pairing_result_text_sensor.cpp.
|
protected |
Definition at line 41 of file platform_pairing_result_text_sensor.h.