Fix default forecast mode OpenWeatherMap (#40062)

pull/40179/head
Evgeny 2020-09-14 14:36:08 +02:00 committed by Bram Kragten
parent a9d24c2cd5
commit 0e823b566b
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class OpenWeatherMapConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
if CONF_LONGITUDE not in config:
config[CONF_LONGITUDE] = self.hass.config.longitude
if CONF_MODE not in config:
config[CONF_MODE] = DEFAULT_LANGUAGE
config[CONF_MODE] = DEFAULT_FORECAST_MODE
if CONF_LANGUAGE not in config:
config[CONF_LANGUAGE] = DEFAULT_LANGUAGE
return await self.async_step_user(config)