Increase resolution of sun updates around sunrise/sundown (#140403)

This commit is contained in:
Sören Beye 2025-05-26 21:20:18 +02:00 committed by GitHub
parent 987af8f7df
commit 5f63612b66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,8 +74,8 @@ PHASE_DAY = "day"
_PHASE_UPDATES = {
PHASE_NIGHT: timedelta(minutes=4 * 5),
PHASE_ASTRONOMICAL_TWILIGHT: timedelta(minutes=4 * 2),
PHASE_NAUTICAL_TWILIGHT: timedelta(minutes=4 * 2),
PHASE_TWILIGHT: timedelta(minutes=4),
PHASE_NAUTICAL_TWILIGHT: timedelta(minutes=4),
PHASE_TWILIGHT: timedelta(minutes=2),
PHASE_SMALL_DAY: timedelta(minutes=2),
PHASE_DAY: timedelta(minutes=4),
}