diff --git a/esphome/components/ota/automation.h b/esphome/components/ota/automation.h index dbb4b84e63..31d71a213f 100644 --- a/esphome/components/ota/automation.h +++ b/esphome/components/ota/automation.h @@ -1,6 +1,6 @@ #pragma once #ifdef USE_OTA_STATE_CALLBACK -#include "esphome/components/ota/ota_backend.h" +#include "ota_backend.h" #include "esphome/core/automation.h"