mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Fix return value in core/automation.h (#6314)
				
					
				
			This commit is contained in:
		| @@ -218,7 +218,7 @@ template<typename... Ts> class ActionList { | |||||||
|   /// Return the number of actions in this action list that are currently running. |   /// Return the number of actions in this action list that are currently running. | ||||||
|   int num_running() { |   int num_running() { | ||||||
|     if (this->actions_begin_ == nullptr) |     if (this->actions_begin_ == nullptr) | ||||||
|       return false; |       return 0; | ||||||
|     return this->actions_begin_->num_running_total(); |     return this->actions_begin_->num_running_total(); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user