Skip to content

Commit

Permalink
Accuweather uses partly cloudy with rain icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed Apr 20, 2021
1 parent 7849b2c commit 87fabf6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions weather_providers/accuweather.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def get_icon_from_accuweather_weathercode(self, weathercode, is_daytime):
8: "overcast", # DayNight - Dreary (Overcast)
11: "climacell_fog", # DayNight - Fog
12: 'climacell_rain_light' if is_daytime else 'rain_night_light', # DayNight - Showers
13: 'climacell_rain_light' if is_daytime else 'climacell_rain_light', # Day - Mostly Cloudy w/ Showers
14: 'climacell_rain_light' if is_daytime else 'rain_night_light', # Day - Partly Sunny w/ Showers
13: 'day_partly_cloudy_rain' if is_daytime else 'night_partly_cloudy_rain', # Day - Mostly Cloudy w/ Showers
14: 'day_partly_cloudy_rain' if is_daytime else 'night_partly_cloudy_rain', # Day - Partly Sunny w/ Showers
15: "thundershower_rain", # DayNight - T-Storms
16: "scattered_thundershowers", # Day - Mostly Cloudy w/ T-Storms
17: "scattered_thundershowers", # Day - Partly Sunny w/ T-Storms
Expand All @@ -49,8 +49,8 @@ def get_icon_from_accuweather_weathercode(self, weathercode, is_daytime):
36: "scattered_clouds" if is_daytime else "partlycloudynight", # Night - Intermittent Clouds
37: "haze", # Night - Hazy Moonlight
38: "mostly_cloudy" if is_daytime else "mostly_cloudy_night", # Night - Mostly Cloudy
39: 'climacell_rain_light' if is_daytime else 'rain_night_light', # Night - Partly Cloudy w/ Showers
40: 'climacell_rain_heavy' if is_daytime else 'rain_night_heavy', # Night - Mostly Cloudy w/ Showers
39: 'day_partly_cloudy_rain' if is_daytime else 'night_partly_cloudy_rain', # Night - Partly Cloudy w/ Showers
40: 'day_partly_cloudy_rain' if is_daytime else 'night_partly_cloudy_rain', # Night - Mostly Cloudy w/ Showers
41: "thundershower_rain", # Night - Partly Cloudy w/ T-Storms
42: "thundershower_rain", # Night - Mostly Cloudy w/ T-Storms
43: "climacell_flurries", # Night - Mostly Cloudy w/ Flurries
Expand Down

0 comments on commit 87fabf6

Please sign in to comment.