Skip to content

Commit

Permalink
Change temperatureHigh to temperatureMax
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneofghosts authored Jan 24, 2024
1 parent b642a5b commit 78d8837
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 78d8837

Please sign in to comment.