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

Mixin for the hub-level entities that additionally scope themselves to one oneway_controllers: identity: the 1W command buttons, the 1W enrollment button, and the per-identity "Last 1W Command" text sensor. More...

#include <platform_entity_base.h>

Inheritance diagram for esphome::home_io_control::OneWayControllerBound:
Collaboration diagram for esphome::home_io_control::OneWayControllerBound:

Public Member Functions

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.

Protected Attributes

std::string controller_id_
Protected Attributes inherited from esphome::home_io_control::HubBoundEntity
IOHomeControlComponentparent_ {nullptr}

Detailed Description

Mixin for the hub-level entities that additionally scope themselves to one oneway_controllers: identity: the 1W command buttons, the 1W enrollment button, and the per-identity "Last 1W Command" text sensor.

They act on the hub, not on a paired device, so they are HubBoundEntity plus this one handle. The identity is a oneway_controllers: block entry, not an address in the hub's device table.

Definition at line 210 of file platform_entity_base.h.

Member Function Documentation

◆ set_controller_id()

void esphome::home_io_control::OneWayControllerBound::set_controller_id ( const std::string & id)
inline

Set the controller identity this entity acts as / reports on.

Parameters
idHandle from the oneway_controllers: block.

Definition at line 214 of file platform_entity_base.h.

Member Data Documentation

◆ controller_id_

std::string esphome::home_io_control::OneWayControllerBound::controller_id_
protected

Definition at line 217 of file platform_entity_base.h.


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