Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
platform_oneway_entities.h File Reference

The per-identity 1W entities: command buttons, the enrollment button, and the "Last 1W Command" diagnostic text sensor. More...

#include <string>
#include "esphome/components/button/button.h"
#include "esphome/components/text_sensor/text_sensor.h"
#include "esphome/core/component.h"
#include "hub_core.h"
#include "oneway_controller.h"
#include "oneway_transmitter.h"
#include "platform_entity_base.h"
Include dependency graph for platform_oneway_entities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esphome::home_io_control::IOHomeOneWayCommandButton
 Button entity that sends one 1W command as a configured controller identity. More...
class  esphome::home_io_control::IOHomeOneWayEnrollButton
 Button entity that registers a configured controller identity as a 1W controller. More...
class  esphome::home_io_control::IOHomeOneWayLastCommandTextSensor
 Diagnostic text sensor: what this identity last put on air. More...

Namespaces

namespace  esphome
namespace  esphome::home_io_control

Functions

std::string esphome::home_io_control::format_oneway_command_report (const OneWayCommandReport &report)
 Build the sensor string for one command report.

Detailed Description

The per-identity 1W entities: command buttons, the enrollment button, and the "Last 1W Command" diagnostic text sensor.

All three are created from the hub's oneway_controllers: block, never declared as a button: / text_sensor: platform entry — for the shared reason, see HubBoundEntity in platform_entity_base.h.

All three scope themselves to one identity via OneWayControllerBound (parent + controller_id_).

Definition in file platform_oneway_entities.h.