From ccfdd0cf0634c280935c030547f2f63419fb47ef Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 30 Oct 2025 10:44:49 -0500 Subject: [PATCH] remove testing --- esphome/components/thermostat/thermostat_climate.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/esphome/components/thermostat/thermostat_climate.cpp b/esphome/components/thermostat/thermostat_climate.cpp index 9b55a807c3..752204004a 100644 --- a/esphome/components/thermostat/thermostat_climate.cpp +++ b/esphome/components/thermostat/thermostat_climate.cpp @@ -322,13 +322,10 @@ climate::ClimateTraits ThermostatClimate::traits() { traits.add_supported_preset(it.first); } - // Custom presets and fan modes are set directly from Python (includes all non-standard preset names from map) + // Custom presets are set directly from Python (includes all non-standard preset names from map) if (!this->additional_custom_presets_.empty()) { traits.set_supported_custom_presets(this->additional_custom_presets_); } - if (!this->additional_custom_fan_modes_.empty()) { - traits.set_supported_custom_fan_modes(this->additional_custom_fan_modes_); - } return traits; } @@ -1619,10 +1616,6 @@ void ThermostatClimate::dump_config() { } } -void ThermostatClimate::set_custom_fan_modes(std::initializer_list custom_fan_modes) { - this->additional_custom_fan_modes_ = custom_fan_modes; -} - void ThermostatClimate::set_custom_presets(std::initializer_list custom_presets) { this->additional_custom_presets_ = custom_presets; }