diff --git a/esphome/core/automation.h b/esphome/core/automation.h index 7f79ab3ccd..ceed28e5b8 100644 --- a/esphome/core/automation.h +++ b/esphome/core/automation.h @@ -55,7 +55,7 @@ template class Trigger { bool is_running() { if (this->automation_parent_ == nullptr) return false; - return this->automation_parent_.is_running(); + return this->automation_parent_->is_running(); } protected: