From 707f40d4060a790aab7719433bc12ed52a70ba3d Mon Sep 17 00:00:00 2001 From: Jean-Marc Collin Date: Wed, 20 Dec 2023 18:54:35 +0000 Subject: [PATCH] FIX issue #284 - preset not saved --- custom_components/versatile_thermostat/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/versatile_thermostat/config_flow.py b/custom_components/versatile_thermostat/config_flow.py index 3d3b1dc..02c7be9 100644 --- a/custom_components/versatile_thermostat/config_flow.py +++ b/custom_components/versatile_thermostat/config_flow.py @@ -364,7 +364,7 @@ class VersatileThermostatBaseConfigFlow(FlowHandler): schema = schema_ac_or_not elif user_input and user_input.get(CONF_USE_PRESETS_CENTRAL_CONFIG) is False: next_step = self.async_step_spec_presets - schema = schema_ac_or_not + schema = STEP_PRESETS_DATA_SCHEMA return await self.generic_step("presets", schema, user_input, next_step)