ESPHome
2024.10.2
|
#include <base_light_effects.h>
Public Member Functions | |
AutomationLightEffect (const std::string &name) | |
void | stop () override |
void | apply () override |
Trigger * | get_trig () const |
Public Member Functions inherited from esphome::light::LightEffect | |
LightEffect (std::string name) | |
virtual void | start () |
Initialize this LightEffect. Will be called once after creation. More... | |
virtual void | start_internal () |
const std::string & | get_name () |
virtual void | init () |
Internal method called by the LightState when this light effect is registered in it. More... | |
void | init_internal (LightState *state) |
Protected Attributes | |
Trigger * | trig_ {new Trigger<>} |
Protected Attributes inherited from esphome::light::LightEffect | |
LightState * | state_ {nullptr} |
std::string | name_ |
Definition at line 135 of file base_light_effects.h.
|
inline |
Definition at line 137 of file base_light_effects.h.
|
inlineoverridevirtual |
Implements esphome::light::LightEffect.
Definition at line 139 of file base_light_effects.h.
|
inline |
Definition at line 144 of file base_light_effects.h.
|
inlineoverridevirtual |
Reimplemented from esphome::light::LightEffect.
Definition at line 138 of file base_light_effects.h.
Definition at line 147 of file base_light_effects.h.