1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Fix return value in core/automation.h (#6314)

This commit is contained in:
星野SKY
2024-03-02 13:53:12 +08:00
committed by GitHub
parent 4aeb8e8081
commit 11cae03769

View File

@@ -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();
}