Revert "Update yweather.py" (#13900)

* Revert "Add unique_id for BMW ConnectedDrive (#13888)"

This reverts commit 9014e26845.

* Revert "Added snips service descriptions (#13883)"

This reverts commit 1c4da0c4a6.

* Revert "Fix race condition for component loaded before listening (#13887)"

This reverts commit bba997e484.

* Revert "Missing property decorator added (#13889)"

This reverts commit bf98b793c5.

* Revert "Update frontend to 20180414.0"

This reverts commit 1617fbea4c.

* Revert "Further untangle data entry flow (#13855)"

This reverts commit 4d44c0feff.

* Revert "add support for Kodi discovery (#13790)"

This reverts commit 5a5dad689b.

* Revert "Update yweather.py (#13851)"

This reverts commit c3388d63a1.
This commit is contained in:
Pascal Vizeli 2018-04-15 09:50:44 +02:00 committed by GitHub
parent 9014e26845
commit c018071218
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,27 +32,20 @@ DEFAULT_NAME = 'Yweather'
SCAN_INTERVAL = timedelta(minutes=10) SCAN_INTERVAL = timedelta(minutes=10)
CONDITION_CLASSES = { CONDITION_CLASSES = {
'clear-night': [31, 33], 'clear-night': [31],
'sunny': [32, 34, 25, 36], 'cloudy': [26, 27, 28, 29, 30],
'windy': [24],
'fair': [34],
'fair-night': [33],
'cloudy': [26],
'mostly-cloudy': [28],
'mostly-cloudy-night': [27],
'partly-cloudy': [30, 44],
'partly-cloudy-night': [29],
'fog': [19, 20, 21, 22, 23], 'fog': [19, 20, 21, 22, 23],
'hail': [17, 18, 35], 'hail': [17, 18, 35],
'light-rain': [8, 9], 'lightning': [37],
'light-snow': [14], 'lightning-rainy': [3, 4, 38, 39, 47],
'heavy-rain': [11, 12, 45, 40], 'partlycloudy': [44],
'heavy-snow': [41, 42, 43, 46], 'pouring': [40, 45],
'snowy': [13, 15, 16], 'rainy': [9, 11, 12],
'rainy': [10], 'snowy': [8, 13, 14, 15, 16, 41, 42, 43],
'snowy-rainy': [5, 6, 7, 10], 'snowy-rainy': [5, 6, 7, 10, 46],
'lightning': [3, 4, 37, 38, 39], 'sunny': [32, 33, 34, 25, 36],
'lightning-rainy': [45, 47], 'windy': [24],
'windy-variant': [],
'exceptional': [0, 1, 2], 'exceptional': [0, 1, 2],
} }