mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
committed by
Paulus Schoutsen
parent
03bb3d9ddc
commit
d63c44f778
@@ -170,6 +170,7 @@ class Sun(Entity):
|
||||
utc_point_in_time, 'dusk', PHASE_ASTRONOMICAL_TWILIGHT)
|
||||
self.next_midnight = self._check_event(
|
||||
utc_point_in_time, 'solar_midnight', None)
|
||||
self.location.solar_depression = 'civil'
|
||||
|
||||
# if the event was solar midday or midnight, phase will now
|
||||
# be None. Solar noon doesn't always happen when the sun is
|
||||
|
Reference in New Issue
Block a user