diff --git a/esphome/components/lora/switch/switch_lora.h b/esphome/components/lora/switch/switch_lora.h index 2fa0af9673..352580a854 100644 --- a/esphome/components/lora/switch/switch_lora.h +++ b/esphome/components/lora/switch/switch_lora.h @@ -3,6 +3,7 @@ #include #include "esphome/core/component.h" #include "esphome/components/uart/uart.h" +#include "esphome/components/pcf8574/pcf8574.h" #include "esphome/components/switch/switch.h" #include "esphome/core/helpers.h" #include "esphome/core/log.h"