Skip to content

Commit 89672b1

Browse files
committed
Correct config flow for entry creation
1 parent e77bbc9 commit 89672b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/generac/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async def async_step_user(self, user_input=None):
133133
"""Handle a flow initialized by the user."""
134134
if user_input is not None:
135135
self.options.update(user_input)
136-
return self.async_create_entry(data=user_input)
136+
return self.async_create_entry(title="", data=self.options)
137137

138138
return self.async_show_form(
139139
step_id="user",

0 commit comments

Comments
 (0)