mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 18:24:13 +01:00
Fix return value in core/automation.h
(#6314)
This commit is contained in:
parent
4aeb8e8081
commit
11cae03769
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue