From 3f1dfd0f3f34d60f35a998f6d746f213f2f5a9e6 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 26 Mar 2026 13:05:33 -1000 Subject: [PATCH] Fix deprecation dates: 2026.5.0 deprecated, 2026.11.0 removed --- esphome/components/climate/climate_traits.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/esphome/components/climate/climate_traits.h b/esphome/components/climate/climate_traits.h index cfa1515855..5cc4aa470c 100644 --- a/esphome/components/climate/climate_traits.h +++ b/esphome/components/climate/climate_traits.h @@ -156,14 +156,14 @@ class ClimateTraits { this->supported_custom_fan_modes_ = modes; } - // Remove before 2027.1.0 - ESPDEPRECATED("Call set_supported_custom_fan_modes() on the Climate entity instead. Removed in 2027.1.0", "2026.7.0") + // Remove before 2026.11.0 + ESPDEPRECATED("Call set_supported_custom_fan_modes() on the Climate entity instead. Removed in 2026.11.0", "2026.5.0") void set_supported_custom_fan_modes(std::initializer_list modes) { this->owned_custom_fan_modes_ = modes; this->supported_custom_fan_modes_ = &this->owned_custom_fan_modes_; } - // Remove before 2027.1.0 - ESPDEPRECATED("Call set_supported_custom_fan_modes() on the Climate entity instead. Removed in 2027.1.0", "2026.7.0") + // Remove before 2026.11.0 + ESPDEPRECATED("Call set_supported_custom_fan_modes() on the Climate entity instead. Removed in 2026.11.0", "2026.5.0") void set_supported_custom_fan_modes(const std::vector &modes) { this->owned_custom_fan_modes_ = modes; this->supported_custom_fan_modes_ = &this->owned_custom_fan_modes_; @@ -189,14 +189,14 @@ class ClimateTraits { this->supported_custom_presets_ = presets; } - // Remove before 2027.1.0 - ESPDEPRECATED("Call set_supported_custom_presets() on the Climate entity instead. Removed in 2027.1.0", "2026.7.0") + // Remove before 2026.11.0 + ESPDEPRECATED("Call set_supported_custom_presets() on the Climate entity instead. Removed in 2026.11.0", "2026.5.0") void set_supported_custom_presets(std::initializer_list presets) { this->owned_custom_presets_ = presets; this->supported_custom_presets_ = &this->owned_custom_presets_; } - // Remove before 2027.1.0 - ESPDEPRECATED("Call set_supported_custom_presets() on the Climate entity instead. Removed in 2027.1.0", "2026.7.0") + // Remove before 2026.11.0 + ESPDEPRECATED("Call set_supported_custom_presets() on the Climate entity instead. Removed in 2026.11.0", "2026.5.0") void set_supported_custom_presets(const std::vector &presets) { this->owned_custom_presets_ = presets; this->supported_custom_presets_ = &this->owned_custom_presets_;