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