mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
fix: increment lamp count in restore_lamp_settings function of DynamicLampComponent
This commit is contained in:
parent
cf0b1e741b
commit
7a63947ace
@ -462,6 +462,7 @@ void DynamicLampComponent::restore_lamp_settings_() {
|
||||
if (output_in_use == true) {
|
||||
this->available_outputs_[j].in_use = true;
|
||||
}
|
||||
this->lamp_count_++;
|
||||
}
|
||||
} else {
|
||||
lamp = CombinedLamp();
|
||||
|
Loading…
x
Reference in New Issue
Block a user