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, the open-window detection switch and the night light. More...

#include "esphome/components/binary_sensor/binary_sensor.h"
#include "esphome/components/light/light_output.h"
#include "esphome/components/switch/switch.h"
#include "esphome/core/component.h"
#include "hub_core.h"
#include "platform_entity_base.h"
#include "platform_light.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...
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...

Namespaces

namespace  esphome
namespace  esphome::home_io_control

Detailed Description

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

All are device-bound companions (DeviceBoundCompanion) that climate.py generates alongside a climate: entity: the window pair when the device kind has WINDOW_COMPANIONS, the night light when the YAML asks for it on a kind with NIGHT_LIGHT. They show readings the hub's poll already stores in IoDevice::heating and add no radio traffic of their own, except their writes and the read-backs that confirm them.

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.