diff --git a/homeassistant/components/evohome/__init__.py b/homeassistant/components/evohome/__init__.py index 958750c4dcb..841b9b02055 100644 --- a/homeassistant/components/evohome/__init__.py +++ b/homeassistant/components/evohome/__init__.py @@ -635,7 +635,7 @@ class EvoChild(EvoDevice): return {} # no schedule {'DailySchedules': []}, so no scheduled setpoints day_time = dt_util.now() - day_of_week = int(day_time.strftime("%w")) # 0 is Sunday + day_of_week = day_time.weekday() # for evohome, 0 is Monday time_of_day = day_time.strftime("%H:%M:%S") try: