22 traits.set_min_mireds(153);
23 traits.set_max_mireds(500);
This class simplifies creating components that periodically check a state.
output::FloatOutput * pina_pin_
void set_pinb_pin(output::FloatOutput *pinb_pin)
void write_state(light::LightState *state) override
light::LightTraits get_traits() override
float get_setup_priority() const override
void set_pina_pin(output::FloatOutput *pina_pin)
output::FloatOutput * pinb_pin_
Interface to write LightStates to hardware.
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
This class is used to represent the capabilities of a light.
Base class for all output components that can output a variable level, like PWM.
void set_level(float state)
Set the level of this float output, this is called from the front-end.
@ COLD_WARM_WHITE
Cold and warm white output with individually controllable brightness.
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
Providing packet encoding functions for exchanging data with a remote host.