1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-09 23:02:23 +01:00

fix: replace error call with mark_failed in add_lamp method

This commit is contained in:
Oliver Kleinecke
2025-02-14 16:52:25 +01:00
parent bb47118762
commit 0aeb2f91c6

View File

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