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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user