Skip to content

Commit 7e5ef88

Browse files
Fix deprecated use of config_entry by making it private in OptionsFlowHandler (#114)
1 parent 29142bb commit 7e5ef88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/robovac/config_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
218218
"""Handles options flow for the component."""
219219

220220
def __init__(self, config_entry: config_entries.ConfigEntry) -> None:
221-
self.config_entry = config_entry
221+
self._config_entry = config_entry
222222
self.selected_vacuum = None
223223

224224
async def async_step_init(self, user_input=None):

0 commit comments

Comments
 (0)