17#include "esphome/core/component.h"
18#include "esphome/components/switch/switch.h"
32 void setup()
override;
Mixin holding the hub-device binding shared by all IO-Homecontrol entity platforms.
Binary switch entity for IO‑Homecontrol on/off devices.
float get_setup_priority() const override
Get setup priority (DATA).
void dump_config() override
Dump configuration to log.
void on_device_update_(const std::string &id, const IoDevice &dev)
Callback when device state changes (e.g., from a remote).
void write_state(bool state) override
Write state change to the device.
void setup() override
Initialize the switch entity.
Runtime state of a paired IO‑Homecontrol device.