Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
esphome::home_io_control::IOHomeLastCommandSourceTextSensor Class Reference

Diagnostic text sensor naming what kind of source issued that last command. More...

#include <platform_companion_sensors.h>

Inheritance diagram for esphome::home_io_control::IOHomeLastCommandSourceTextSensor:
Collaboration diagram for esphome::home_io_control::IOHomeLastCommandSourceTextSensor:

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
IOHomeControlComponentparent_ {nullptr}
std::string device_id_

Detailed Description

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.

Member Function Documentation

◆ dump_config()

void esphome::home_io_control::IOHomeLastCommandSourceTextSensor::dump_config ( )
override

Definition at line 126 of file platform_companion_sensors.cpp.

◆ get_setup_priority()

float esphome::home_io_control::IOHomeLastCommandSourceTextSensor::get_setup_priority ( ) const
inlinenodiscardoverride

Definition at line 159 of file platform_companion_sensors.h.

◆ setup()

void esphome::home_io_control::IOHomeLastCommandSourceTextSensor::setup ( )
override

Definition at line 121 of file platform_companion_sensors.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: