ESPHome
2024.11.2
|
#include <rgb_light_output.h>
Public Member Functions | |
void | set_red (output::FloatOutput *red) |
void | set_green (output::FloatOutput *green) |
void | set_blue (output::FloatOutput *blue) |
light::LightTraits | get_traits () override |
void | write_state (light::LightState *state) override |
Public Member Functions inherited from esphome::light::LightOutput | |
virtual std::unique_ptr< LightTransformer > | create_default_transition () |
Return the default transformer used for transitions. More... | |
virtual void | setup_state (LightState *state) |
virtual void | update_state (LightState *state) |
Called on every update of the current values of the associated LightState, can optionally be used to do processing of this change. More... | |
Protected Attributes | |
output::FloatOutput * | red_ |
output::FloatOutput * | green_ |
output::FloatOutput * | blue_ |
Definition at line 10 of file rgb_light_output.h.
|
inlineoverridevirtual |
Implements esphome::light::LightOutput.
Definition at line 16 of file rgb_light_output.h.
|
inline |
Definition at line 14 of file rgb_light_output.h.
|
inline |
Definition at line 13 of file rgb_light_output.h.
|
inline |
Definition at line 12 of file rgb_light_output.h.
|
inlineoverridevirtual |
Implements esphome::light::LightOutput.
Definition at line 21 of file rgb_light_output.h.
|
protected |
Definition at line 32 of file rgb_light_output.h.
|
protected |
Definition at line 31 of file rgb_light_output.h.
|
protected |
Definition at line 30 of file rgb_light_output.h.