From 1ffedfedbb5df35aecd12cef2b06dd11e45add45 Mon Sep 17 00:00:00 2001 From: Brett Rowan <121075405+b-rowan@users.noreply.github.com> Date: Sun, 25 Feb 2024 13:43:07 -0700 Subject: [PATCH] Fix incorrect step. --- custom_components/miner/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/miner/config_flow.py b/custom_components/miner/config_flow.py index 3f1c3b6..04c5710 100644 --- a/custom_components/miner/config_flow.py +++ b/custom_components/miner/config_flow.py @@ -145,7 +145,7 @@ async def async_step_login(self, user_input=None): schema = vol.Schema(schema_data) if not user_input: if len(schema_data) == 0: - return self.async_create_entry(title=self._data[CONF_TITLE], data=self._data) + return self.async_step_title() return self.async_show_form(step_id="login", data_schema=schema) self._data.update(user_input)