ESPHome  1.15.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 void setup_state (LightState *state)
 

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 28 of file binary_light_output.h.


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