Provide correct defaults for CoinBase options flow (#52255)
This commit is contained in:
parent
f2fe6c26ab
commit
a1c741a46d
1 changed files with 2 additions and 2 deletions
|
@ -150,8 +150,8 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
|
|||
"""Manage the options."""
|
||||
|
||||
errors = {}
|
||||
default_currencies = self.config_entry.options.get(CONF_CURRENCIES)
|
||||
default_exchange_rates = self.config_entry.options.get(CONF_EXCHANGE_RATES)
|
||||
default_currencies = self.config_entry.options.get(CONF_CURRENCIES, [])
|
||||
default_exchange_rates = self.config_entry.options.get(CONF_EXCHANGE_RATES, [])
|
||||
|
||||
if user_input is not None:
|
||||
# Pass back user selected options, even if bad
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue