Skip to content

Commit 5b39f80

Browse files
authored
Update config_flow.py
1 parent d9e0338 commit 5b39f80

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

custom_components/pstryk/config_flow.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,16 +192,12 @@ async def _check_mqtt_availability(self):
192192
@staticmethod
193193
def async_get_options_flow(config_entry):
194194
"""Get the options flow for this handler."""
195-
return PstrykOptionsFlowHandler(config_entry)
195+
return PstrykOptionsFlowHandler()
196196

197197

198198
class PstrykOptionsFlowHandler(config_entries.OptionsFlow):
199199
"""Handle options flow for Pstryk Energy - single page view."""
200200

201-
def __init__(self, config_entry):
202-
"""Initialize options flow."""
203-
super().__init__(config_entry)
204-
205201
async def async_step_init(self, user_input=None):
206202
"""Manage the options - single page for quick configuration."""
207203
errors = {}

0 commit comments

Comments
 (0)