diff --git a/tests/components/template/common-base.yaml b/tests/components/template/common-base.yaml index 22bf17c0840..16a4979f377 100644 --- a/tests/components/template/common-base.yaml +++ b/tests/components/template/common-base.yaml @@ -296,6 +296,11 @@ button: id(template_climate_custom_modes).set_supported_custom_presets(presets); id(template_climate_custom_modes).set_supported_custom_presets({"eco_plus"}); id(template_climate_custom_modes).set_supported_custom_fan_modes({}); + std::vector new_fan_modes{"turbo", "silent"}; + id(template_climate_custom_modes).set_supported_custom_fan_modes(new_fan_modes); + static const char *const MODES[] = {"turbo", "silent"}; + id(template_climate_custom_modes).set_supported_custom_fan_modes(MODES); + id(template_climate_custom_modes).set_supported_custom_presets(MODES); cover: - platform: template