diff --git a/custom_components/adaptive_lighting/color_and_brightness.py b/custom_components/adaptive_lighting/color_and_brightness.py index a880f6e8..4db50b4f 100644 --- a/custom_components/adaptive_lighting/color_and_brightness.py +++ b/custom_components/adaptive_lighting/color_and_brightness.py @@ -111,8 +111,8 @@ def noon_and_midnight( solar_noon = self.astral_location.noon(dt, local=False) solar_midnight = self.astral_location.midnight(dt, local=False) - solar_sunrise= self.astral_location.sunrise(dt, local=False) - solar_sunset= self.astral_location.sunset(dt, local=False) + solar_sunrise = self.astral_location.sunrise(dt, local=False) + solar_sunset = self.astral_location.sunset(dt, local=False) sunrise_offset = solar_sunrise - sunrise sunset_offset = solar_sunset - sunset