From 0e823b566bcdee4b2987de656da3f1c9c084f8bb Mon Sep 17 00:00:00 2001 From: Evgeny Date: Mon, 14 Sep 2020 14:36:08 +0200 Subject: [PATCH] Fix default forecast mode OpenWeatherMap (#40062) --- homeassistant/components/openweathermap/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/openweathermap/config_flow.py b/homeassistant/components/openweathermap/config_flow.py index 365f55c5d44..5f960e52ecf 100644 --- a/homeassistant/components/openweathermap/config_flow.py +++ b/homeassistant/components/openweathermap/config_flow.py @@ -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)