fix evening greyline

This commit is contained in:
Jakob Ketterl 2020-01-20 17:29:32 +01:00
parent 6157aba1ec
commit 5b9344dee9

View File

@ -184,7 +184,7 @@ class DaylightSchedule(TimerangeSchedule):
if useGreyline: if useGreyline:
entries += [ entries += [
DatetimeScheduleEntry(sunrise - delta, sunrise + delta, self.schedule["greyline"]), DatetimeScheduleEntry(sunrise - delta, sunrise + delta, self.schedule["greyline"]),
DatetimeScheduleEntry(sunset - delta, sunrise + delta, self.schedule["greyline"]), DatetimeScheduleEntry(sunset - delta, sunset + delta, self.schedule["greyline"]),
] ]
logger.debug([str(e) for e in entries]) logger.debug([str(e) for e in entries])