diff --git a/tests/benchmarks/components/climate/bench_climate.cpp b/tests/benchmarks/components/climate/bench_climate.cpp index 316a72b2b6..0416b6daa3 100644 --- a/tests/benchmarks/components/climate/bench_climate.cpp +++ b/tests/benchmarks/components/climate/bench_climate.cpp @@ -54,6 +54,9 @@ static void setup_hvac_climate(BenchClimate &climate) { climate.traits_.set_visual_target_temperature_step(0.5f); climate.traits_.set_visual_current_temperature_step(0.1f); climate.traits_.add_feature_flags(climate::CLIMATE_SUPPORTS_CURRENT_TEMPERATURE | climate::CLIMATE_SUPPORTS_ACTION); + // Custom modes use the new API — stored on Climate entity, zero-copy in get_traits() + climate.set_supported_custom_fan_modes({"Turbo", "Silent", "Eco"}); + climate.set_supported_custom_presets({"My Preset", "Night Mode"}); } // --- Climate::publish_state() with temperature update ---