From 46bbd78b23cd41e7082c753b2817609c74262cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20D=C3=B6tsch?= Date: Thu, 18 Jan 2018 21:59:50 +0100 Subject: [PATCH] Use localized forecast for openweathermap (#11770) Use "detailed status" of forecast to get localized value --- homeassistant/components/sensor/openweathermap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/openweathermap.py b/homeassistant/components/sensor/openweathermap.py index d7443039e57..49280efe718 100644 --- a/homeassistant/components/sensor/openweathermap.py +++ b/homeassistant/components/sensor/openweathermap.py @@ -176,7 +176,7 @@ class OpenWeatherMapSensor(Entity): elif self.type == 'forecast': if fc_data is None: return - self._state = fc_data.get_weathers()[0].get_status() + self._state = fc_data.get_weathers()[0].get_detailed_status() class WeatherData(object):