diff --git a/esphome/components/esphome/ota/ota_esphome.h b/esphome/components/esphome/ota/ota_esphome.h index 0a4393c824..55adec351d 100644 --- a/esphome/components/esphome/ota/ota_esphome.h +++ b/esphome/components/esphome/ota/ota_esphome.h @@ -3,6 +3,7 @@ #include "esphome/core/defines.h" #ifdef USE_OTA #include "esphome/core/helpers.h" +#include "esphome/core/log.h" #include "esphome/core/preferences.h" #include "esphome/core/log.h" #include "esphome/components/ota/ota_backend.h"