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