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

Generated per-heater auxiliary entities: the window binary sensor and the open-window detection switch. More...

#include "esphome/components/binary_sensor/binary_sensor.h"
#include "esphome/components/switch/switch.h"
#include "esphome/core/component.h"
#include "hub_core.h"
#include "platform_entity_base.h"
#include "proto_device_model.h"
Include dependency graph for platform_climate_controls.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::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...

Namespaces

namespace  esphome
namespace  esphome::home_io_control

Detailed Description

Generated per-heater auxiliary entities: the window binary sensor and the open-window detection switch.

Both are device-bound companions (DeviceBoundCompanion) that climate.py generates alongside a climate: entity when the device's heating profile has them (HeatingProfileFeatures). They show readings the hub's poll already stores in IoDevice::heating and add no radio traffic of their own, except the switch's write and the read-back that confirms it.

Todo
Experimental: the meaning of registers 0x010E (window sensor) and 0x0106 (open-window detection) is unconfirmed on hardware. An AGILIA IO radiator answers both reads (window 0, detection 1, tests/corpus/captures/exchange/atlantic_agilia_exchange_status_read.yaml), but no report has opened a window or switched detection off yet (issue #165).

Definition in file platform_climate_controls.h.