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

Button entity that triggers device discovery and pairing when pressed in Home Assistant. More...

#include <hub_core.h>

Inheritance diagram for esphome::home_io_control::IOHomeDiscoverButton:
Collaboration diagram for esphome::home_io_control::IOHomeDiscoverButton:

Public Member Functions

void set_parent (IOHomeControlComponent *parent)
void dump_config () override

Protected Member Functions

void press_action () override
 When button is pressed, queue a discovery/pair operation.

Protected Attributes

IOHomeControlComponentparent_ {nullptr}

Detailed Description

Button entity that triggers device discovery and pairing when pressed in Home Assistant.

Definition at line 396 of file hub_core.h.

Member Function Documentation

◆ dump_config()

void esphome::home_io_control::IOHomeDiscoverButton::dump_config ( )
inlineoverride

Definition at line 399 of file hub_core.h.

◆ press_action()

void esphome::home_io_control::IOHomeDiscoverButton::press_action ( )
inlineoverrideprotected

When button is pressed, queue a discovery/pair operation.

Definition at line 403 of file hub_core.h.

◆ set_parent()

void esphome::home_io_control::IOHomeDiscoverButton::set_parent ( IOHomeControlComponent * parent)
inline

Definition at line 398 of file hub_core.h.

Member Data Documentation

◆ parent_

IOHomeControlComponent* esphome::home_io_control::IOHomeDiscoverButton::parent_ {nullptr}
protected

Definition at line 404 of file hub_core.h.


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