Skip to content

Commit

Permalink
Provide correct defaults for CoinBase options flow (#52255)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBrien committed Jun 28, 2021
1 parent f2fe6c2 commit a1c741a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/coinbase/config_flow.py
Expand Up @@ -150,8 +150,8 @@ async def async_step_init(self, user_input=None):
"""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
Expand Down

0 comments on commit a1c741a

Please sign in to comment.