mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 21:33:32 +02:00
@@ -102,6 +102,7 @@ class StrobeLightEffect : public LightEffect {
|
|||||||
if (!color.is_on()) {
|
if (!color.is_on()) {
|
||||||
// Don't turn the light off, otherwise the light effect will be stopped
|
// Don't turn the light off, otherwise the light effect will be stopped
|
||||||
call.set_brightness_if_supported(0.0f);
|
call.set_brightness_if_supported(0.0f);
|
||||||
|
call.set_white_if_supported(0.0f);
|
||||||
call.set_state(true);
|
call.set_state(true);
|
||||||
}
|
}
|
||||||
call.set_publish(false);
|
call.set_publish(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user