diff --git a/esphome/components/climate/climate.cpp b/esphome/components/climate/climate.cpp index 9ef7c3daa88..22e07d2b88d 100644 --- a/esphome/components/climate/climate.cpp +++ b/esphome/components/climate/climate.cpp @@ -2,6 +2,7 @@ #include "esphome/core/defines.h" #include "esphome/core/controller_registry.h" #include "esphome/core/macros.h" +#include namespace esphome::climate {