ESPHome  2024.11.3
Public Member Functions | Protected Attributes
esphome::binary::BinaryLightOutput Class Reference

#include <binary_light_output.h>

Inheritance diagram for esphome::binary::BinaryLightOutput:
esphome::light::LightOutput

Public Member Functions

void set_output (output::BinaryOutput *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::BinaryOutputoutput_
 

Detailed Description

Definition at line 10 of file binary_light_output.h.

Member Function Documentation

◆ get_traits()

light::LightTraits esphome::binary::BinaryLightOutput::get_traits ( )
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 13 of file binary_light_output.h.

◆ set_output()

void esphome::binary::BinaryLightOutput::set_output ( output::BinaryOutput output)
inline

Definition at line 12 of file binary_light_output.h.

◆ write_state()

void esphome::binary::BinaryLightOutput::write_state ( light::LightState state)
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 18 of file binary_light_output.h.

Field Documentation

◆ output_

output::BinaryOutput* esphome::binary::BinaryLightOutput::output_
protected

Definition at line 29 of file binary_light_output.h.


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