ESPHome  1.15.3
Public Member Functions
esphome::light::LightOutput Class Referenceabstract

Interface to write LightStates to hardware. More...

#include <light_output.h>

Inheritance diagram for esphome::light::LightOutput:
esphome::binary::BinaryLightOutput esphome::cwww::CWWWLightOutput esphome::light::AddressableLight esphome::monochromatic::MonochromaticLightOutput esphome::rgb::RGBLightOutput esphome::rgbw::RGBWLightOutput esphome::rgbww::RGBWWLightOutput esphome::tuya::TuyaLight

Public Member Functions

virtual LightTraits get_traits ()=0
 Return the LightTraits of this LightOutput. More...
 
virtual void setup_state (LightState *state)
 
virtual void write_state (LightState *state)=0
 

Detailed Description

Interface to write LightStates to hardware.

Definition at line 13 of file light_output.h.

Member Function Documentation

◆ get_traits()

virtual LightTraits esphome::light::LightOutput::get_traits ( )
pure virtual

◆ setup_state()

virtual void esphome::light::LightOutput::setup_state ( LightState state)
inlinevirtual

Reimplemented in esphome::light::AddressableLight, and esphome::tuya::TuyaLight.

Definition at line 18 of file light_output.h.

◆ write_state()

virtual void esphome::light::LightOutput::write_state ( LightState state)
pure virtual

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