Merge remote-tracking branch 'origin/climate-custom-modes-test-coverage' into climate-custom-modes-const-vector

This commit is contained in:
J. Nick Koston
2026-10-05 21:41:09 -05:00
@@ -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<const char *> 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