mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
Fix binary strobe (#2301)
This commit is contained in:
parent
a32ad33b4e
commit
89f2ea5725
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,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_brightness(0.0f);
|
||||
call.set_state(true);
|
||||
}
|
||||
call.set_publish(false);
|
||||
|
|
Loading…
Reference in a new issue