mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Provide correct defaults for CoinBase options flow (#52255)
This commit is contained in:
parent
f2fe6c26ab
commit
a1c741a46d
@ -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…
x
Reference in New Issue
Block a user