diff --git a/homeassistant/components/lyric/climate.py b/homeassistant/components/lyric/climate.py index 0e3672f952e..e57bfd0c514 100644 --- a/homeassistant/components/lyric/climate.py +++ b/homeassistant/components/lyric/climate.py @@ -2,7 +2,7 @@ from __future__ import annotations import logging -from time import gmtime, strftime, time +from time import localtime, strftime, time from aiolyric.objects.device import LyricDevice from aiolyric.objects.location import LyricLocation @@ -82,7 +82,7 @@ SCHEMA_HOLD_TIME = { vol.Required(ATTR_TIME_PERIOD, default="01:00:00"): vol.All( cv.time_period, cv.positive_timedelta, - lambda td: strftime("%H:%M:%S", gmtime(time() + td.total_seconds())), + lambda td: strftime("%H:%M:%S", localtime(time() + td.total_seconds())), ) }