From b7f70383750b59227ac3aa094835a7c1f67ae30a Mon Sep 17 00:00:00 2001 From: MapoDan <42698485+MapoDan@users.noreply.github.com> Date: Wed, 6 Jan 2021 14:34:46 +0100 Subject: [PATCH] Update config_flow.py --- custom_components/programmable_thermostat/config_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/programmable_thermostat/config_flow.py b/custom_components/programmable_thermostat/config_flow.py index 5b88690..03e2f29 100644 --- a/custom_components/programmable_thermostat/config_flow.py +++ b/custom_components/programmable_thermostat/config_flow.py @@ -101,6 +101,7 @@ async def async_step_final(self, user_input={}): if user_input is not None and user_input != {}: if self.are_third_step_data_valid(user_input): self._data.update(user_input) + self._data[CONF_RELATED_CLIMATE] = self.string_to_list(self._data[CONF_RELATED_CLIMATE]) self._data[CONF_MIN_CYCLE_DURATION] = self.string_to_timedelta(self._data[CONF_MIN_CYCLE_DURATION]) final_data = {} for key in self._data.keys():