1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-15 15:18:16 +00:00

Fix compilation of automations

This commit is contained in:
Nico Weichbrodt 2019-05-03 23:46:59 +02:00
parent 2d7f562fc3
commit a3631d7fa4

View File

@ -55,7 +55,7 @@ template<typename... Ts> class Trigger {
bool is_running() { bool is_running() {
if (this->automation_parent_ == nullptr) if (this->automation_parent_ == nullptr)
return false; return false;
return this->automation_parent_.is_running(); return this->automation_parent_->is_running();
} }
protected: protected: