19#include "esphome/core/component.h"
20#include "esphome/components/light/light_output.h"
34 void setup()
override;
62 void write_state(light::LightState *state)
override;
Mixin holding the hub-device binding shared by all IO-Homecontrol entity platforms.
Binary or dimmable light entity for IO‑Homecontrol devices.
void write_state(light::LightState *state) override
bool suppress_write_
Guard so that an inbound radio status (or LightState's own boot-time restore_mode push — see setup_st...
light::LightState * state_
void setup_state(light::LightState *state) override
Store the HA LightState object for state updates.
void on_device_update_(const std::string &id, const IoDevice &dev)
Handle inbound device status updates.
float get_setup_priority() const override
Get setup priority (DATA).
void dump_config() override
Dump configuration to log.
light::LightTraits get_traits() override
Return traits: ColorMode::BRIGHTNESS if dimmable, else ColorMode::ON_OFF.
void setup() override
Initialize the light entity.
void set_dimmable(bool dimmable)
Enable brightness control (from YAML).
Runtime state of a paired IO‑Homecontrol device.