Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches

C++ entity implementations exposed to Home Assistant through ESPHome. More...

Collaboration diagram for Runtime Entities:

Files

file  components/home_io_control/platform_climate.cpp
 Experimental climate entity for IO-Homecontrol heaters, driven by a heating profile.
file  components/home_io_control/platform_climate.h
 Experimental climate entity for IO-Homecontrol heaters, driven by a heating profile.
file  components/home_io_control/platform_climate_controls.cpp
 Generated per-heater auxiliary entities: the window binary sensor, the open-window detection switch and the night light.
file  components/home_io_control/platform_climate_controls.h
 Generated per-heater auxiliary entities: the window binary sensor, the open-window detection switch and the night light.
file  components/home_io_control/platform_companion_sensors.cpp
 The auto-generated per-device diagnostic companion sensors.
file  components/home_io_control/platform_companion_sensors.h
 The auto-generated per-device diagnostic companion sensors.
file  components/home_io_control/platform_cover.cpp
 ESPHome cover entity for IO-Homecontrol devices.
file  components/home_io_control/platform_cover.h
 ESPHome cover entity for IO‑Homecontrol devices.
file  components/home_io_control/platform_cover_controls.cpp
 Generated per-cover auxiliary entities: command button, silent-operation toggle, travel speed select, rain and battery sensors.
file  components/home_io_control/platform_cover_controls.h
 Generated per-cover auxiliary entities: the command button (favorite / ventilation), the silent-operation toggle, the travel speed select, the rain binary sensor and the battery sensors.
file  components/home_io_control/platform_entity_base.h
 Shared device-binding mixins for IO-Homecontrol entity platforms.
file  components/home_io_control/platform_fan.cpp
 Experimental fan entity for IO-Homecontrol exterior heating (a heat level, 0-100 %).
file  components/home_io_control/platform_fan.h
 Experimental fan entity for IO-Homecontrol exterior heating (a heat level, 0-100 %).
file  components/home_io_control/platform_hub_controls.cpp
 Hub-level control entities: arming switches and the pairing-result text sensor.
file  components/home_io_control/platform_hub_controls.h
 Hub-level control entities: the discovery button, the scan-paired-devices button, the two arming switches, and the pairing-result and device-event diagnostic text sensors.
file  components/home_io_control/platform_light.cpp
 Binary or dimmable light entity for IO-Homecontrol devices.
file  components/home_io_control/platform_light.h
 Binary or dimmable light entity for IO‑Homecontrol devices.
file  components/home_io_control/platform_lock.cpp
 Experimental lock entity for IO-Homecontrol lock devices.
file  components/home_io_control/platform_lock.h
 Experimental lock entity for IO-Homecontrol lock-capable devices.
file  components/home_io_control/platform_lr1121_controls.cpp
 Hub-level LR1121 firmware-update entities: out-of-line bodies for the bootloader-rewrite arming switch.
file  components/home_io_control/platform_lr1121_controls.h
 Hub-level LR1121 firmware-update entities: the transceiver-flash button and the bootloader-rewrite arming switch.
file  components/home_io_control/platform_oneway_entities.cpp
 The per-identity 1W entities: command buttons, enrollment button, last-command sensor.
file  components/home_io_control/platform_oneway_entities.h
 The per-identity 1W entities: command buttons, the enrollment button, and the "Last 1W Command" diagnostic text sensor.
file  components/home_io_control/platform_switch.cpp
 Experimental binary switch entity for IO-Homecontrol devices.
file  components/home_io_control/platform_switch.h
 Experimental binary switch entity for IO‑Homecontrol devices.
file  components/home_io_control/platform_water_heater.cpp
 Water heater entity for a domestic hot water heater, and its opt-in companion sensors.
file  components/home_io_control/platform_water_heater.h
 Water heater entity for a domestic hot water heater, and its opt-in companion sensors.

Classes

class  esphome::home_io_control::IOHomeClimate
 Climate entity for IO-Homecontrol heating devices. More...
class  esphome::home_io_control::IOHomeWindowBinarySensor
 Binary sensor (device_class: window) that is ON while the heater's window sensor reports open. More...
class  esphome::home_io_control::IOHomeOpenWindowDetectionSwitch
 Switch that turns the heater's open-window detection on and off. More...
class  esphome::home_io_control::IOHomeHeaterNightLight
 Dimmable light for a heater's night light (night_light: on a heater with io_model heater_with_light). More...
class  esphome::home_io_control::IOHomeCompanionSensor
 Shared base for the numeric per-device diagnostic companions. More...
class  esphome::home_io_control::IOHomeCompanionTextSensor
 Shared base for the textual per-device diagnostic companions. More...
class  esphome::home_io_control::IOHomeDeviceCounterSensor
 Shared base for the companions that publish one cumulative uint16_t counter held on IoDevice. More...
class  esphome::home_io_control::IOHomeRssiSensor
 Diagnostic sensor that publishes a device's smoothed (EMA) RSSI in dBm. More...
class  esphome::home_io_control::IOHomeLastContactSensor
 Diagnostic sensor that publishes seconds elapsed since the last frame received from a device (see detail::update_link_health() in hub_internal.h). More...
class  esphome::home_io_control::IOHomeExchangeFailuresSensor
 Diagnostic sensor that publishes a device's cumulative count of outbound exchanges that timed out (no valid response) — see detail::record_exchange_timeout() in hub_internal.h. More...
class  esphome::home_io_control::IOHomeUnconfirmedExchangesSensor
 Diagnostic sensor that publishes a device's cumulative count of exchanges it authenticated and then never closed — see detail::record_exchange_outcome() in hub_internal.h. More...
class  esphome::home_io_control::IOHomeDeviceNameTextSensor
 Diagnostic text sensor that publishes the cached device name. More...
class  esphome::home_io_control::IOHomeActiveIssueTextSensor
 Diagnostic text sensor that names what is currently limiting a device (e.g. More...
class  esphome::home_io_control::IOHomeLastCommandedByTextSensor
 Diagnostic text sensor naming the controller that last commanded this device. More...
class  esphome::home_io_control::IOHomeLastCommandSourceTextSensor
 Diagnostic text sensor naming what kind of source issued that last command. More...
class  esphome::home_io_control::IOHomeCover
 Cover entity representing an IO‑Homecontrol shutter/awning/blind. More...
class  esphome::home_io_control::IOHomeCoverCommandButton
 Button entity that sends one non-positional cover command on press. More...
class  esphome::home_io_control::IOHomeCoverSilentSwitch
 Switch entity that selects a cover's travel profile at runtime. More...
class  esphome::home_io_control::IOHomeCoverTravelSpeedSelect
 Select entity that sets a cover's travel speed at runtime: default, silent or fast. More...
class  esphome::home_io_control::IOHomeRainBinarySensor
 Binary sensor that reports whether the window currently limits its own opening for rain. More...
class  esphome::home_io_control::IOHomeSunLevelSensor
 Sensor publishing the raw sun value a device answers its sun level poll with. More...
class  esphome::home_io_control::IOHomeBatteryLevelSensor
 Sensor (device_class: battery, %) publishing the level a device answers its battery level poll with. More...
class  esphome::home_io_control::IOHomeBatteryLowBinarySensor
 Binary sensor (device_class: battery) that is ON while the device reports a low battery. More...
class  esphome::home_io_control::IOHomeBatteryTextSensor
 Diagnostic text sensor naming the device's coarse battery level: "full", "normal" or "low". More...
class  esphome::home_io_control::DeviceBoundEntity
 Mixin holding the hub-device binding shared by all IO-Homecontrol entity platforms. More...
class  esphome::home_io_control::DeviceBoundCompanion
 Mixin holding the parent + device-id binding shared by per-device entities that are not full entity platforms: the auto-generated companion diagnostic sensors (device name, active issue, RSSI, last contact, exchange failures, last commanded by, last command source) and the per-device auxiliary control entities (cover favorite/vent buttons, cover silent switch). More...
class  esphome::home_io_control::HubBoundEntity
 Mixin for entities bound to the hub itself rather than to one device. More...
class  esphome::home_io_control::OneWayControllerBound
 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...
class  esphome::home_io_control::IOHomeFan
 Fan entity for IO-Homecontrol exterior heating. More...
class  esphome::home_io_control::HubArmingSwitch
 Shared body for the hub-level arming switches. More...
class  esphome::home_io_control::IOHomeAcceptForeignPairingSwitch
 Hub-level switch entity: ON arms the key-extraction responder for 10 minutes, OFF disarms it immediately. More...
class  esphome::home_io_control::IOHomeRecoverOneWayKeySwitch
 Hub-level switch entity: ON arms the 1W key-recovery listener, OFF disarms it immediately. More...
class  esphome::home_io_control::IOHomeDiscoverButton
 Button entity that triggers device discovery and pairing when pressed in Home Assistant. More...
class  esphome::home_io_control::IOHomeScanPairedDevicesButton
 Button entity that runs the scan_paired_devices roll-call when pressed. More...
class  esphome::home_io_control::IOHomePairingResultTextSensor
 Diagnostic text sensor that publishes PairingTelemetry::result_sensor_string() after every pairing attempt. More...
class  esphome::home_io_control::IOHomeDeviceEventTextSensor
 Diagnostic text sensor that publishes IOHomeControlComponent::last_device_event() after every recorded device event. More...
class  esphome::home_io_control::IOHomeLight
 Binary or dimmable light entity for IO‑Homecontrol devices. More...
class  esphome::home_io_control::IOHomeLock
 Lock entity for IO-Homecontrol lock devices. More...
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...
class  esphome::home_io_control::IOHomeSwitch
 Binary switch entity for IO‑Homecontrol on/off devices. More...
class  esphome::home_io_control::IOHomeWaterHeater
 Water heater entity for a domestic hot water heater. More...
class  esphome::home_io_control::IOHomeDhwEnergySensor
 Sensor of the heater's energy since installation, in kWh (total_increasing). More...
class  esphome::home_io_control::IOHomeDhwBinarySensor
 Binary sensor of one heating state of the heater: heat pump running or electric backup running. More...
class  esphome::home_io_control::IOHomeDhwBoostSwitch
 Switch that starts and ends the heater's boost. More...

Functions

void esphome::home_io_control::publish_light_reading (light::LightState *state, bool on, std::optional< float > brightness, bool &suppress_write)
 Show a device's light state on its LightState without sending it back to the device.

Detailed Description

C++ entity implementations exposed to Home Assistant through ESPHome.

Function Documentation

◆ publish_light_reading()

void esphome::home_io_control::publish_light_reading ( light::LightState * state,
bool on,
std::optional< float > brightness,
bool & suppress_write )
inline

Show a device's light state on its LightState without sending it back to the device.

LightState::make_call().perform() makes the output's write_state() run, which on these lights is a radio command. This publishes on (and brightness, when given) only when the LightState does not already show it, and arms suppress_write so the output swallows that one write_state(). Shared by every light output of this component.

Parameters
stateThe LightState to update.
onWhether the device reports the light on.
brightnessThe device's brightness, 0.0-1.0; nullopt for an on/off light.
[out]suppress_writeThe output's echo guard; set when a call is performed.

Definition at line 39 of file platform_light.h.

Here is the call graph for this function: