Skip to content

Commit 9f265f7

Browse files
committed
fix
1 parent ea0f6a0 commit 9f265f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/lock_code_manager/config_flow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ async def async_step_init(
309309

310310
def _get_default(key: str) -> Any:
311311
"""Get default value."""
312-
return user_input.get(key, get_entry_data(self.config_entry.data, key, {}))
312+
return user_input.get(key, get_entry_data(self.config_entry, key, {}))
313313

314314
return self.async_show_form(
315315
step_id="init",

0 commit comments

Comments
 (0)