Skip to content

Commit

Permalink
Merge pull request #181 from Pirate-Weather/temp-high-fix
Browse files Browse the repository at this point in the history
Change temperatureHigh to temperatureMax
  • Loading branch information
cloneofghosts authored Jan 25, 2024
2 parents b642a5b + 78d8837 commit bfd385f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/pirateweather/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _map_daily_forecast(forecast) -> Forecast:
return {
"datetime": utc_from_timestamp(forecast.d.get("time")).isoformat(),
"condition": MAP_CONDITION.get(forecast.d.get("icon")),
"native_temperature": forecast.d.get("temperatureHigh"),
"native_temperature": forecast.d.get("temperatureMax"),
"native_templow": forecast.d.get("temperatureLow"),
"native_precipitation": forecast.d.get("precipAccumulation") * 10,
"precipitation_probability": round(
Expand Down

0 comments on commit bfd385f

Please sign in to comment.