ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::mipi_spi::MipiSpiLight Class Referencefinal

#include <mipi_spi_light.h>

Inheritance diagram for esphome::mipi_spi::MipiSpiLight:
esphome::light::LightOutput esphome::Parented< MipiSpiBrightness >

Public Member Functions

 MipiSpiLight (uint8_t min_brightness, uint8_t max_brightness)
 
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.
 
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.
 
- Public Member Functions inherited from esphome::Parented< MipiSpiBrightness >
 Parented ()
 
 Parented (MipiSpiBrightness *parent)
 
MipiSpiBrightness * get_parent () const
 Get the parent of this object.
 
void set_parent (MipiSpiBrightness *parent)
 Set the parent of this object.
 

Protected Attributes

uint8_t min_brightness_
 
uint8_t max_brightness_
 
- Protected Attributes inherited from esphome::Parented< MipiSpiBrightness >
MipiSpiBrightness * parent_
 

Detailed Description

Definition at line 12 of file mipi_spi_light.h.

Constructor & Destructor Documentation

◆ MipiSpiLight()

esphome::mipi_spi::MipiSpiLight::MipiSpiLight ( uint8_t min_brightness,
uint8_t max_brightness )
inline

Definition at line 14 of file mipi_spi_light.h.

Member Function Documentation

◆ get_traits()

light::LightTraits esphome::mipi_spi::MipiSpiLight::get_traits ( )
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 17 of file mipi_spi_light.h.

◆ write_state()

void esphome::mipi_spi::MipiSpiLight::write_state ( light::LightState * state)
inlineoverridevirtual

Implements esphome::light::LightOutput.

Definition at line 23 of file mipi_spi_light.h.

Field Documentation

◆ max_brightness_

uint8_t esphome::mipi_spi::MipiSpiLight::max_brightness_
protected

Definition at line 33 of file mipi_spi_light.h.

◆ min_brightness_

uint8_t esphome::mipi_spi::MipiSpiLight::min_brightness_
protected

Definition at line 32 of file mipi_spi_light.h.


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