From 71123871fc7fac8d9d0c9cbad6177b2184c9317b Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Sat, 27 Nov 2021 09:49:15 -0500 Subject: [PATCH] Fix climacell hourly and nowcast forecasts --- homeassistant/components/climacell/weather.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/climacell/weather.py b/homeassistant/components/climacell/weather.py index 6a1cab5e1bf37..bf1c95b524a0e 100644 --- a/homeassistant/components/climacell/weather.py +++ b/homeassistant/components/climacell/weather.py @@ -377,12 +377,13 @@ def forecast(self): precipitation_probability = values.get(CC_ATTR_PRECIPITATION_PROBABILITY) temp = values.get(CC_ATTR_TEMPERATURE_HIGH) - temp_low = values.get(CC_ATTR_TEMPERATURE_LOW) + temp_low = None wind_direction = values.get(CC_ATTR_WIND_DIRECTION) wind_speed = values.get(CC_ATTR_WIND_SPEED) if self.forecast_type == DAILY: use_datetime = False + temp_low = values.get(CC_ATTR_TEMPERATURE_LOW) if precipitation: precipitation = precipitation * 24 elif self.forecast_type == NOWCAST: