|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Diagnostic text sensor naming what kind of source issued that last command. More...
#include <platform_companion_sensors.h>
Public Member Functions | |
| void | setup () override |
| void | dump_config () override |
| float | get_setup_priority () const override |
| Public Member Functions inherited from esphome::home_io_control::DeviceBoundCompanion | |
| void | set_parent (IOHomeControlComponent *parent) |
| Set the parent controller component. | |
| void | set_device_id (const std::string &id) |
| Set the device ID whose state this companion sensor exposes. | |
Additional Inherited Members | |
| Protected Member Functions inherited from esphome::home_io_control::DeviceBoundCompanion | |
| void | register_companion_binding_ (const std::function< void(const IoDevice &)> &publish) |
| Shared setup() body: subscribe to this device's updates and publish the initial state. | |
| Protected Attributes inherited from esphome::home_io_control::DeviceBoundCompanion | |
| IOHomeControlComponent * | parent_ {nullptr} |
| std::string | device_id_ |
Diagnostic text sensor naming what kind of source issued that last command.
The device's own Command Originator byte, rendered "name(0xXX)". Field-validated as a clean remote-vs-motor-button split on roller shutters only; other device classes may report values with no ORIGINATOR_* name, which surface as "unknown(0xXX)" rather than being dropped.
Definition at line 153 of file platform_companion_sensors.h.
|
override |
Definition at line 126 of file platform_companion_sensors.cpp.
|
inlinenodiscardoverride |
Definition at line 159 of file platform_companion_sensors.h.
|
override |
Definition at line 121 of file platform_companion_sensors.cpp.