From 191e32f6cf12bdda95c043b92c974c9aef90be19 Mon Sep 17 00:00:00 2001 From: Wojtek Date: Tue, 10 Apr 2018 21:11:45 +0200 Subject: [PATCH] Update yweather.py (#13802) Map clear-night string to 31 value. --- homeassistant/components/weather/yweather.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/weather/yweather.py b/homeassistant/components/weather/yweather.py index f9610e469b2..5987cf7621f 100644 --- a/homeassistant/components/weather/yweather.py +++ b/homeassistant/components/weather/yweather.py @@ -32,6 +32,7 @@ DEFAULT_NAME = 'Yweather' SCAN_INTERVAL = timedelta(minutes=10) CONDITION_CLASSES = { + 'clear-night': [31], 'cloudy': [26, 27, 28, 29, 30], 'fog': [19, 20, 21, 22, 23], 'hail': [17, 18, 35],