Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Fix addressable not updating light (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
OttoWinter committed Feb 23, 2019
1 parent 9470933 commit 3b759b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/esphome/light/addressable_light.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3b759b9

Please sign in to comment.