mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
parent
fb29ac27a2
commit
93cfee8026
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ class StrobeLightEffect : public LightEffect {
|
|||
if (!color.is_on()) {
|
||||
// Don't turn the light off, otherwise the light effect will be stopped
|
||||
call.set_brightness_if_supported(0.0f);
|
||||
call.set_white_if_supported(0.0f);
|
||||
call.set_state(true);
|
||||
}
|
||||
call.set_publish(false);
|
||||
|
|
Loading…
Reference in a new issue