From 58586ea8403ed5d4a48d9a38a494903487d3e539 Mon Sep 17 00:00:00 2001 From: Nico Weichbrodt Date: Fri, 3 May 2019 23:46:59 +0200 Subject: [PATCH] Fix compilation of automations --- esphome/core/automation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: