ESPHome  2024.11.1
Public Member Functions | Protected Attributes
esphome::monochromatic::MonochromaticLightOutput Class Reference

#include <monochromatic_light_output.h>

Inheritance diagram for esphome::monochromatic::MonochromaticLightOutput:
esphome::light::LightOutput

Public Member Functions

void set_output (output::FloatOutput *output)
 
light::LightTraits get_traits () override
 
void write_state (light::LightState *state) override
 
- Public Member Functions inherited from esphome::light::LightOutput
virtual std::unique_ptr< LightTransformercreate_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::FloatOutputoutput_
 

Detailed Description

Definition at line 10 of file monochromatic_light_output.h.

Member Function Documentation

◆ get_traits()

light::LightTraits esphome::monochromatic::MonochromaticLightOutput::get_traits ( )
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 13 of file monochromatic_light_output.h.

◆ set_output()

void esphome::monochromatic::MonochromaticLightOutput::set_output ( output::FloatOutput output)
inline

Definition at line 12 of file monochromatic_light_output.h.

◆ write_state()

void esphome::monochromatic::MonochromaticLightOutput::write_state ( light::LightState state)
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 18 of file monochromatic_light_output.h.

Field Documentation

◆ output_

output::FloatOutput* esphome::monochromatic::MonochromaticLightOutput::output_
protected

Definition at line 25 of file monochromatic_light_output.h.


The documentation for this class was generated from the following file: