17#include "esphome/components/binary_sensor/binary_sensor.h"
18#include "esphome/components/button/button.h"
19#include "esphome/components/select/select.h"
20#include "esphome/components/switch/switch.h"
21#include "esphome/components/text_sensor/text_sensor.h"
22#include "esphome/core/component.h"
87 void setup()
override;
113 void setup()
override;
125 void control(
const std::string &value)
override;
139 void setup()
override;
164 void setup()
override;
185 void setup()
override;
207 void setup()
override;
232 void setup()
override;
Mixin holding the parent + device-id binding shared by per-device entities that are not full entity p...
Sensor (device_class: battery, %) publishing the level a device answers its battery level poll with.
void setup() override
Subscribe to the device's updates and publish what is already known.
std::optional< uint16_t > published_
Last value handed to publish_state(); avoids re-publishing on every update.
bool published_once_
True once anything (a value or "unknown") was published.
void dump_config() override
Dump sensor configuration to the log.
Binary sensor (device_class: battery) that is ON while the device reports a low battery.
void setup() override
Subscribe to the device's updates and publish what is already known.
void dump_config() override
Dump sensor configuration to the log.
void publish_battery_(const IoDevice &dev)
Publish from a device record: ON for LOW_CHARGE, OFF for NORMAL/FULL, no state otherwise.
float get_setup_priority() const override
Get setup priority so the parent hub is available first.
bool logged_not_reported_
The "reports no battery" INFO line was written once already.
Diagnostic text sensor naming the device's coarse battery level: "full", "normal" or "low".
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.
void dump_config() override
Dump sensor configuration to the log.
Shared base for the numeric per-device diagnostic companions.
Switch entity that selects a cover's travel profile at runtime.
float get_setup_priority() const override
Get setup priority so the parent hub is available first.
void write_state(bool state) override
Apply the requested travel profile to the bound device.
void setup() override
Publish the boot state declared in YAML so Home Assistant starts in sync.
void dump_config() override
Dump switch configuration to the log.
Select entity that sets a cover's travel speed at runtime: default, silent or fast.
void dump_config() override
Dump select configuration to the log.
void control(const std::string &value) override
Apply the selected travel speed to the bound device.
float get_setup_priority() const override
Get setup priority so the parent hub is available first.
void setup() override
Publish the boot state declared in YAML so Home Assistant starts in sync.
Binary sensor that reports whether the window currently limits its own opening for rain.
void dump_config() override
Dump sensor configuration to the log.
void publish_rain_state_(RainSensorState state)
Publish a rain state: true for RAIN, false for DRY, no state for UNKNOWN.
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.
Sensor publishing the raw sun value a device answers its sun level poll with.
void dump_config() override
Dump sensor configuration to the log.
std::optional< uint16_t > published_
Last value handed to publish_state(); avoids re-publishing on every update.
void setup() override
Subscribe to the device's updates and publish what is already known.
bool published_once_
True once anything (a value or "unknown") was published.
IO-Homecontrol ESPHome component — protocol controller.
RainSensorState
What the hub's latest minimum-limitation read says about a rain-protection limit.
CoverCommand
Named device commands for cover-type actuators.
@ FAVORITE
Move to stored favorite/"My" position.
IO-Homecontrol device-type model, capabilities and runtime device state.
Runtime state of a paired IO‑Homecontrol device.