From 0f7229f55fd7152b962f1799f2328960c3cac7b7 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Wed, 26 Jun 2024 08:45:53 +0200 Subject: [PATCH] Fix holiday using utc instead of local time (#120432) --- homeassistant/components/holiday/calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/holiday/calendar.py b/homeassistant/components/holiday/calendar.py index f56f4f90831..6a336870857 100644 --- a/homeassistant/components/holiday/calendar.py +++ b/homeassistant/components/holiday/calendar.py @@ -122,7 +122,7 @@ class HolidayCalendarEntity(CalendarEntity): def _update_state_and_setup_listener(self) -> None: """Update state and setup listener for next interval.""" - now = dt_util.utcnow() + now = dt_util.now() self._attr_event = self.update_event(now) self.unsub = async_track_point_in_utc_time( self.hass, self.point_in_time_listener, self.get_next_interval(now)