diff --git a/esphome/components/climate/climate.h b/esphome/components/climate/climate.h index 7f1ac0a4aa..5928df822e 100644 --- a/esphome/components/climate/climate.h +++ b/esphome/components/climate/climate.h @@ -74,11 +74,9 @@ class ClimateCall { /// Set the fan mode of the climate device. ClimateCall &set_fan_mode(optional fan_mode); /// Set the fan mode of the climate device based on a string. - __attribute__((deprecated("Use set_fan_mode(const char*) instead"))) ClimateCall &set_fan_mode( - const std::string &fan_mode); + ClimateCall &set_fan_mode(const std::string &fan_mode); /// Set the fan mode of the climate device based on a string. - __attribute__((deprecated("Use set_fan_mode(const char*) instead"))) ClimateCall &set_fan_mode( - optional fan_mode); + ClimateCall &set_fan_mode(optional fan_mode); /// Set the custom fan mode of the climate device. ClimateCall &set_fan_mode(const char *custom_fan_mode); /// Set the swing mode of the climate device.