diff --git a/esphome/components/climate/climate.h b/esphome/components/climate/climate.h index 5928df822e..e5d098291c 100644 --- a/esphome/components/climate/climate.h +++ b/esphome/components/climate/climate.h @@ -90,10 +90,9 @@ class ClimateCall { /// Set the preset of the climate device. ClimateCall &set_preset(optional preset); /// Set the preset of the climate device based on a string. - __attribute__((deprecated("Use set_preset(const char*) instead"))) ClimateCall &set_preset(const std::string &preset); + ClimateCall &set_preset(const std::string &preset); /// Set the preset of the climate device based on a string. - __attribute__((deprecated("Use set_preset(const char*) instead"))) ClimateCall &set_preset( - optional preset); + ClimateCall &set_preset(optional preset); /// Set the custom preset of the climate device. ClimateCall &set_preset(const char *custom_preset);