#include <addressable_light_effect.h>
Definition at line 51 of file addressable_light_effect.h.
◆ AddressableLambdaLightEffect()
esphome::light::AddressableLambdaLightEffect::AddressableLambdaLightEffect |
( |
const std::string & |
name, |
|
|
std::function< void(AddressableLight &, Color, bool initial_run)> |
f, |
|
|
uint32_t |
update_interval |
|
) |
| |
|
inline |
◆ apply()
void esphome::light::AddressableLambdaLightEffect::apply |
( |
AddressableLight & |
it, |
|
|
const Color & |
current_color |
|
) |
| |
|
inlineoverridevirtual |
◆ start()
void esphome::light::AddressableLambdaLightEffect::start |
( |
| ) |
|
|
inlineoverridevirtual |
◆ f_
std::function<void(AddressableLight &, Color, bool initial_run)> esphome::light::AddressableLambdaLightEffect::f_ |
|
protected |
◆ initial_run_
bool esphome::light::AddressableLambdaLightEffect::initial_run_ |
|
protected |
◆ last_run_
uint32_t esphome::light::AddressableLambdaLightEffect::last_run_ {0} |
|
protected |
◆ update_interval_
uint32_t esphome::light::AddressableLambdaLightEffect::update_interval_ |
|
protected |
The documentation for this class was generated from the following file: