1
0
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:
Oliver Kleinecke 2025-02-19 23:33:17 +01:00
parent cf0b1e741b
commit 7a63947ace

View File

@ -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();