Pulse effect.
More...
#include <base_light_effects.h>
Pulse effect.
Definition at line 18 of file base_light_effects.h.
◆ PulseLightEffect()
esphome::light::PulseLightEffect::PulseLightEffect |
( |
const std::string & |
name | ) |
|
|
inlineexplicit |
◆ apply()
void esphome::light::PulseLightEffect::apply |
( |
| ) |
|
|
inlineoverridevirtual |
◆ set_min_max_brightness()
void esphome::light::PulseLightEffect::set_min_max_brightness |
( |
float |
min, |
|
|
float |
max |
|
) |
| |
|
inline |
◆ set_transition_off_length()
void esphome::light::PulseLightEffect::set_transition_off_length |
( |
uint32_t |
transition_length | ) |
|
|
inline |
◆ set_transition_on_length()
void esphome::light::PulseLightEffect::set_transition_on_length |
( |
uint32_t |
transition_length | ) |
|
|
inline |
◆ set_update_interval()
void esphome::light::PulseLightEffect::set_update_interval |
( |
uint32_t |
update_interval | ) |
|
|
inline |
◆ last_color_change_
uint32_t esphome::light::PulseLightEffect::last_color_change_ {0} |
|
protected |
◆ max_brightness_
float esphome::light::PulseLightEffect::max_brightness_ {1.0} |
|
protected |
◆ min_brightness_
float esphome::light::PulseLightEffect::min_brightness_ {0.0} |
|
protected |
◆ on_
bool esphome::light::PulseLightEffect::on_ = false |
|
protected |
◆ transition_off_length_
uint32_t esphome::light::PulseLightEffect::transition_off_length_ {} |
|
protected |
◆ transition_on_length_
uint32_t esphome::light::PulseLightEffect::transition_on_length_ {} |
|
protected |
◆ update_interval_
uint32_t esphome::light::PulseLightEffect::update_interval_ {} |
|
protected |
The documentation for this class was generated from the following file: