1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Add transitions to light flash (#2201)

This commit is contained in:
Alex
2021-08-30 21:18:16 -05:00
committed by GitHub
parent 54337befc2
commit ea1b5e19f0
6 changed files with 65 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ void PowerSupply::request_high_power() {
void PowerSupply::unrequest_high_power() {
this->active_requests_--;
if (this->active_requests_ < 0) {
// we're just going to use 0 as our now counter.
// we're just going to use 0 as our new counter.
this->active_requests_ = 0;
}