ESPHome  2024.5.5
Public Member Functions
esphome::light::LightControlAction< Ts > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::light::LightControlAction< Ts >:
esphome::Action< Ts... >

Public Member Functions

 LightControlAction (LightState *parent)
 
 TEMPLATABLE_VALUE (ColorMode, color_mode) TEMPLATABLE_VALUE(bool
 
state TEMPLATABLE_VALUE (uint32_t, transition_length) TEMPLATABLE_VALUE(uint32_t
 
state flash_length TEMPLATABLE_VALUE (float, brightness) TEMPLATABLE_VALUE(float
 
state flash_length color_brightness TEMPLATABLE_VALUE (float, red) TEMPLATABLE_VALUE(float
 
state flash_length color_brightness green TEMPLATABLE_VALUE (float, blue) TEMPLATABLE_VALUE(float
 
state flash_length color_brightness green white TEMPLATABLE_VALUE (float, color_temperature) TEMPLATABLE_VALUE(float
 
- Public Member Functions inherited from esphome::Action< Ts... >
virtual void play_complex (Ts... x)
 
virtual void stop_complex ()
 
virtual bool is_running ()
 Check if this or any of the following actions are currently running. More...
 
int num_running_total ()
 The total number of actions that are currently running in this plus any of the following actions in the chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::Action< Ts... >
virtual void play (Ts... x)=0
 
void play_next_ (Ts... x)
 
void play_next_tuple_ (const std::tuple< Ts... > &tuple, seq< S... >)
 
void play_next_tuple_ (const std::tuple< Ts... > &tuple)
 
virtual void stop ()
 
void stop_next_ ()
 
bool is_running_next_ ()
 
- Protected Attributes inherited from esphome::Action< Ts... >
friend ActionList< Ts... >
 
Action< Ts... > * next_
 
int num_running_
 The number of instances of this sequence in the list of actions that is currently being executed. More...
 

Detailed Description

template<typename... Ts>
class esphome::light::LightControlAction< Ts >

Definition at line 26 of file automation.h.

Constructor & Destructor Documentation

◆ LightControlAction()

template<typename... Ts>
esphome::light::LightControlAction< Ts >::LightControlAction ( LightState parent)
inlineexplicit

Definition at line 28 of file automation.h.

Member Function Documentation

◆ TEMPLATABLE_VALUE() [1/6]

template<typename... Ts>
esphome::light::LightControlAction< Ts >::TEMPLATABLE_VALUE ( ColorMode  ,
color_mode   
)

◆ TEMPLATABLE_VALUE() [2/6]

template<typename... Ts>
state esphome::light::LightControlAction< Ts >::TEMPLATABLE_VALUE ( uint32_t  ,
transition_length   
)

◆ TEMPLATABLE_VALUE() [3/6]

template<typename... Ts>
state flash_length esphome::light::LightControlAction< Ts >::TEMPLATABLE_VALUE ( float  ,
brightness   
)

◆ TEMPLATABLE_VALUE() [4/6]

template<typename... Ts>
state flash_length color_brightness esphome::light::LightControlAction< Ts >::TEMPLATABLE_VALUE ( float  ,
red   
)

◆ TEMPLATABLE_VALUE() [5/6]

template<typename... Ts>
state flash_length color_brightness green esphome::light::LightControlAction< Ts >::TEMPLATABLE_VALUE ( float  ,
blue   
)

◆ TEMPLATABLE_VALUE() [6/6]

template<typename... Ts>
state flash_length color_brightness green white esphome::light::LightControlAction< Ts >::TEMPLATABLE_VALUE ( float  ,
color_temperature   
)

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