Skip to content

Commit

Permalink
fix: config flow missing storage default (#1027)
Browse files Browse the repository at this point in the history
* fix: config flow missing storage default

* formatting
  • Loading branch information
firstof9 authored Dec 4, 2024
1 parent dd73594 commit de0247f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/mail_and_packages/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ def _get_default(key: str, fallback_default: Any = None) -> None:

return vol.Schema(
{
vol.Required(CONF_STORAGE, default=_get_default(CONF_STORAGE)): cv.string,
vol.Required(
CONF_STORAGE, default=_get_default(CONF_STORAGE, DEFAULT_STORAGE)
): cv.string,
}
)

Expand Down

0 comments on commit de0247f

Please sign in to comment.