From 9d9725144dd5d16ec7cde58f0afa50218242da1a Mon Sep 17 00:00:00 2001 From: Kai Gerken Date: Sun, 19 Mar 2023 19:31:05 +0100 Subject: [PATCH] Fix compile error on pzemdc.h (#4583) --- esphome/components/pzemdc/pzemdc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/pzemdc/pzemdc.h b/esphome/components/pzemdc/pzemdc.h index 21676e3422..b91ab4c0a5 100644 --- a/esphome/components/pzemdc/pzemdc.h +++ b/esphome/components/pzemdc/pzemdc.h @@ -1,5 +1,6 @@ #pragma once +#include "esphome/core/automation.h" #include "esphome/core/component.h" #include "esphome/components/sensor/sensor.h" #include "esphome/components/modbus/modbus.h"