You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: wrong day/night icon near sunrise/sunset — the old code used setHours()/getHours() to project sunrise/sunset times onto each forecast slot, which is local-timezone-sensitive. In Puppeteer or any browser running in UTC while the HA server is in CET/CEST (+2), a slot at 21:00 local would be compared against a sunset adjusted to 19:05 UTC, making it appear as nighttime and showing a moon instead of a sun. Replaced with pure millisecond arithmetic that is completely timezone-independent.