Random effect. Sets random colors every 10 seconds and slowly transitions between them.
More...
#include <base_light_effects.h>
Random effect. Sets random colors every 10 seconds and slowly transitions between them.
Definition at line 61 of file base_light_effects.h.
◆ RandomLightEffect()
esphome::light::RandomLightEffect::RandomLightEffect |
( |
const std::string & |
name | ) |
|
|
inlineexplicit |
◆ apply()
void esphome::light::RandomLightEffect::apply |
( |
| ) |
|
|
inlineoverridevirtual |
◆ set_transition_length()
void esphome::light::RandomLightEffect::set_transition_length |
( |
uint32_t |
transition_length | ) |
|
|
inline |
◆ set_update_interval()
void esphome::light::RandomLightEffect::set_update_interval |
( |
uint32_t |
update_interval | ) |
|
|
inline |
◆ last_color_change_
uint32_t esphome::light::RandomLightEffect::last_color_change_ {0} |
|
protected |
◆ transition_length_
uint32_t esphome::light::RandomLightEffect::transition_length_ {} |
|
protected |
◆ update_interval_
uint32_t esphome::light::RandomLightEffect::update_interval_ {} |
|
protected |
The documentation for this class was generated from the following file: