|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Diagnostic text sensor that publishes IOHomeControlComponent::last_device_event() after every recorded device event. More...
#include <platform_hub_controls.h>
Public Member Functions | |
| void | setup () override |
| Register the device-event 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. | |
| Public Member Functions inherited from esphome::home_io_control::HubBoundEntity | |
| void | set_parent (IOHomeControlComponent *parent) |
| Set the parent controller component. | |
Protected Member Functions | |
| void | on_device_event_ () |
| Publish the hub's latest recorded device event. | |
Additional Inherited Members | |
| Protected Attributes inherited from esphome::home_io_control::HubBoundEntity | |
| IOHomeControlComponent * | parent_ {nullptr} |
Diagnostic text sensor that publishes IOHomeControlComponent::last_device_event() after every recorded device event.
Only created with diagnostic_probes: true. The value is raw data from a registered device, shown for diagnosis and never applied to device state (ADR 0022, ADR 0060); only a status update addressed to the hub is authenticated before it is shown. Nothing is published before the first event of this boot.
Definition at line 184 of file platform_hub_controls.h.
|
override |
Dump text-sensor configuration to the log.
Definition at line 68 of file platform_hub_controls.cpp.
|
inlinenodiscardoverride |
Get setup priority so the parent hub is available first.
Definition at line 194 of file platform_hub_controls.h.
|
protected |
Publish the hub's latest recorded device event.
Definition at line 74 of file platform_hub_controls.cpp.
|
override |
Register the device-event callback.
Definition at line 61 of file platform_hub_controls.cpp.