20#include "esphome/components/binary_sensor/binary_sensor.h"
21#include "esphome/components/light/light_output.h"
22#include "esphome/components/switch/switch.h"
23#include "esphome/core/component.h"
40 void setup()
override;
59 void setup()
override;
91 void setup()
override;
117 void write_state(light::LightState *state)
override;
Mixin holding the parent + device-id binding shared by per-device entities that are not full entity p...
Dimmable light for a heater's night light (night_light: on a heater with io_model heater_with_light).
void on_device_update_(const IoDevice &dev)
Publish the heater's light state, without echoing it back as a write.
light::LightTraits get_traits() override
Brightness is the light's only colour mode.
void write_state(light::LightState *state) override
Send the requested state to the heater and read it back.
void setup_state(light::LightState *state) override
Store the LightState and swallow the write its restore_mode makes at boot.
float get_setup_priority() const override
Get setup priority so the parent hub is available first.
void dump_config() override
Dump light configuration to the log.
bool writing_
True while write_state() runs its writes and read-backs: the device updates they cause are not publis...
void setup() override
Subscribe to the device's updates and publish what is already known.
bool write_register_(HeatingFunction fn, float value)
Write one light register.
light::LightState * state_
bool suppress_write_
Swallows the write_state() that LightState::make_call().perform() causes for a state this entity publ...
Switch that turns the heater's open-window detection on and off.
void dump_config() override
Dump switch configuration to the log.
void write_state(bool state) override
Write the detection setting and read it back.
void setup() override
Subscribe to the device's updates and publish what is already known.
float get_setup_priority() const override
Get setup priority so the parent hub is available first.
Binary sensor (device_class: window) that is ON while the heater's window sensor reports open.
void dump_config() override
Dump sensor configuration to the log.
float get_setup_priority() const override
Get setup priority so the parent hub is available first.
void setup() override
Subscribe to the device's updates and publish what is already known.
IO-Homecontrol ESPHome component — protocol controller.
HeatingFunction
Registers and functions of a 2W heater, one row of the descriptor table each.
IO-Homecontrol device-type model, capabilities and runtime device state.
Runtime state of a paired IO‑Homecontrol device.