Skip to content

Commit

Permalink
update mapping for image to text of meteo symbol¨
Browse files Browse the repository at this point in the history
  • Loading branch information
websylv committed Feb 5, 2020
1 parent e407f1c commit e0aa765
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions custom_components/meteo-swiss/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@
SCAN_INTERVAL = datetime.timedelta(minutes=10)

CONDITION_CLASSES = {
"clear-night": [101,102],
"cloudy": [5,35,103,104,105],
"fog": [27,28],
"clear-night": [101],
"cloudy": [5,35,105,135],
"fog": [27,28,127,128],
"hail": [],
"lightning": [12],
"lightning-rainy": [13,23,24,25,32,106],
"partlycloudy": [2,3,4],
"pouring": [20],
"rainy": [6,9,14,17,33],
"snowy": [8,11,16,19,22,30,34],
"snowy-rainy": [7,10,15,18,21,29,31,107],
"sunny": [1,26],
"lightning": [12,112],
"lightning-rainy": [6,13,23,24,25,32,106,113,123,124,125,132],
"partlycloudy": [2,3,4,102,103,104],
"pouring": [20,120],
"rainy": [9,14,17,33,109,114,117,133],
"snowy": [8,11,16,19,22,30,34,108,111,116,119,122,130,134],
"snowy-rainy": [7,10,15,18,21,29,31,107,110,115,118,121,129,131],
"sunny": [1,26,126],
"windy": [],
"windy-variant": [],
"exceptional": [],
Expand Down

0 comments on commit e0aa765

Please sign in to comment.