mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 18:24:13 +01:00
Fix addressable light fade to black function (#752)
Fixes https://github.com/esphome/issues/issues/517
This commit is contained in:
parent
ac48ff1fd6
commit
e15071228e
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void ESPRangeView::fade_to_white(uint8_t amnt) {
|
||||||
}
|
}
|
||||||
void ESPRangeView::fade_to_black(uint8_t amnt) {
|
void ESPRangeView::fade_to_black(uint8_t amnt) {
|
||||||
for (auto c : *this)
|
for (auto c : *this)
|
||||||
c.fade_to_white(amnt);
|
c.fade_to_black(amnt);
|
||||||
}
|
}
|
||||||
void ESPRangeView::lighten(uint8_t delta) {
|
void ESPRangeView::lighten(uint8_t delta) {
|
||||||
for (auto c : *this)
|
for (auto c : *this)
|
||||||
|
|
Loading…
Reference in a new issue