Skip to content

Commit 3ddb12c

Browse files
committed
Add the ability to reconfigure the integration, so you can update credentials
1 parent 077a5fa commit 3ddb12c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

custom_components/generac/config_flow.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ def __init__(self):
2727
"""Initialize."""
2828
self._errors = {}
2929

30+
async def async_step_reconfigure(
31+
self, user_input=None
32+
): # pylint: disable=unused-argument
33+
"""Manage the options."""
34+
return await self.async_step_user(user_input)
35+
3036
async def async_step_user(self, user_input=None):
3137
"""Handle a flow initialized by the user."""
3238
self._errors = {}

0 commit comments

Comments
 (0)