FIX issue #284 - preset not saved
This commit is contained in:
@@ -364,7 +364,7 @@ class VersatileThermostatBaseConfigFlow(FlowHandler):
|
|||||||
schema = schema_ac_or_not
|
schema = schema_ac_or_not
|
||||||
elif user_input and user_input.get(CONF_USE_PRESETS_CENTRAL_CONFIG) is False:
|
elif user_input and user_input.get(CONF_USE_PRESETS_CENTRAL_CONFIG) is False:
|
||||||
next_step = self.async_step_spec_presets
|
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)
|
return await self.generic_step("presets", schema, user_input, next_step)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user