From ee55a04b4b173e5535678fc6f1b4717e899b1f81 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Thu, 4 Mar 2021 16:21:56 -0500 Subject: [PATCH] Fix Climacell timezone issue with daily forecasts (#47402) --- homeassistant/components/climacell/weather.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/climacell/weather.py b/homeassistant/components/climacell/weather.py index c77bbfbd50a..c72220d8856 100644 --- a/homeassistant/components/climacell/weather.py +++ b/homeassistant/components/climacell/weather.py @@ -260,6 +260,7 @@ class ClimaCellWeatherEntity(ClimaCellEntity, WeatherEntity): if self.forecast_type == DAILY: use_datetime = False + forecast_dt = dt_util.start_of_local_day(forecast_dt) precipitation = self._get_cc_value( forecast, CC_ATTR_PRECIPITATION_DAILY )