1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-10 15:22:24 +01:00

fix: add error handling for lamp addition in DynamicLamp

This commit is contained in:
Oliver Kleinecke
2025-02-14 16:46:10 +01:00
parent 3ebbdf88c5
commit b5c6b710a3

View File

@@ -117,6 +117,7 @@ uint8_t DynamicLamp::add_lamp() {
}
i++;
}
this->call_error("No more lamps available");
}
void DynamicLamp::add_lamp_output_(uint8_t lamp_number, LinkedOutput output) {