From 46e4fe28969eb674c60b853cbd27dd637c6b749b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 30 Oct 2025 19:03:12 -0500 Subject: [PATCH] simplify --- esphome/components/climate/climate.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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);