From 93cfee802617534c763b46534d9a476c93bf4f63 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sat, 31 Aug 2019 20:23:06 +0200 Subject: [PATCH] Fix strobe effect Fixes https://github.com/esphome/issues/issues/620 --- esphome/components/light/base_light_effects.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/light/base_light_effects.h b/esphome/components/light/base_light_effects.h index 55aa007f56..dcef60397d 100644 --- a/esphome/components/light/base_light_effects.h +++ b/esphome/components/light/base_light_effects.h @@ -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);