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

Fix addressable not updating light #521

Merged
merged 1 commit into from
Feb 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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