Update yweather.py (#13802)

Map clear-night string to 31 value.
pull/13651/merge
Wojtek 2018-04-10 21:11:45 +02:00 committed by Pascal Vizeli
parent 978a79d369
commit 191e32f6cf
1 changed files with 1 additions and 0 deletions

View File

@ -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],