ChristianKuehnel authored and Paulus Schoutsen committed 2018-02-27 02:01:56 -08:00
1 parent bbc2f1d808
commit ed8eda86e2
1 file changed
+2 -2
@@ -70,8 +70,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
from alpha_vantage.foreignexchange import ForeignExchange
api_key = config.get(CONF_API_KEY)
symbols = config.get(CONF_SYMBOLS)
conversions = config.get(CONF_FOREIGN_EXCHANGE)
symbols = config.get(CONF_SYMBOLS, [])
conversions = config.get(CONF_FOREIGN_EXCHANGE, [])
if not symbols and not conversions:
msg = 'Warning: No symbols or currencies configured.'