From e1b6f84348265590773576c721e1ac170cdf66dc Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 30 Oct 2025 09:59:23 -0500 Subject: [PATCH] wip --- .../climate_custom_fan_modes_and_presets.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tests/integration/fixtures/climate_custom_fan_modes_and_presets.yaml diff --git a/tests/integration/fixtures/climate_custom_fan_modes_and_presets.yaml b/tests/integration/fixtures/climate_custom_fan_modes_and_presets.yaml new file mode 100644 index 0000000000..8cb6be874d --- /dev/null +++ b/tests/integration/fixtures/climate_custom_fan_modes_and_presets.yaml @@ -0,0 +1,39 @@ +esphome: + name: climate-custom-modes-test +host: +api: +logger: + +sensor: + - platform: template + id: thermostat_sensor + lambda: "return 22.0;" + +climate: + - platform: thermostat + id: test_thermostat + name: Test Thermostat Custom Modes + sensor: thermostat_sensor + preset: + - name: Away + default_target_temperature_low: 16°C + default_target_temperature_high: 20°C + custom_fan_modes: + - "Turbo" + - "Silent" + - "Sleep Mode" + custom_presets: + - "Eco Plus" + - "Comfort" + - "Vacation Mode" + idle_action: + - logger.log: idle_action + cool_action: + - logger.log: cool_action + heat_action: + - logger.log: heat_action + min_cooling_off_time: 10s + min_cooling_run_time: 10s + min_heating_off_time: 10s + min_heating_run_time: 10s + min_idle_time: 10s