mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 09:01:49 +00:00 
			
		
		
		
	fix: replace error call with mark_failed in add_lamp method
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user