From 3b759b997899b64bf6ca64ae98c2f71f3d09068b Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sat, 23 Feb 2019 00:17:15 +0100 Subject: [PATCH] Fix addressable not updating light (#521) --- src/esphome/light/addressable_light.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/esphome/light/addressable_light.cpp b/src/esphome/light/addressable_light.cpp index eb6c89e8..b5e664e8 100644 --- a/src/esphome/light/addressable_light.cpp +++ b/src/esphome/light/addressable_light.cpp @@ -151,6 +151,8 @@ void AddressableLight::write_state(LightState *state) { for (int i = 0; i < this->size(); i++) { (*this)[i] = color; } + + this->schedule_show(); } void AddressableLight::set_correction(float red, float green, float blue, float white) { this->correction_.set_max_brightness(ESPColor(