mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix Climacell timezone issue with daily forecasts (#47402)
This commit is contained in:
@@ -254,6 +254,7 @@ class ClimaCellWeatherEntity(ClimaCellEntity, WeatherEntity):
|
|||||||
|
|
||||||
if self.forecast_type == DAILY:
|
if self.forecast_type == DAILY:
|
||||||
use_datetime = False
|
use_datetime = False
|
||||||
|
forecast_dt = dt_util.start_of_local_day(forecast_dt)
|
||||||
precipitation = self._get_cc_value(
|
precipitation = self._get_cc_value(
|
||||||
forecast, CC_ATTR_PRECIPITATION_DAILY
|
forecast, CC_ATTR_PRECIPITATION_DAILY
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user