From 78d8837cb28734c4af66531638d8de3603f64e89 Mon Sep 17 00:00:00 2001 From: Kev Date: Tue, 23 Jan 2024 19:37:34 -0500 Subject: [PATCH] Change temperatureHigh to temperatureMax --- custom_components/pirateweather/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/pirateweather/weather.py b/custom_components/pirateweather/weather.py index 3683542..8e532ba 100644 --- a/custom_components/pirateweather/weather.py +++ b/custom_components/pirateweather/weather.py @@ -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(