Skip to content

v1.3.17

Choose a tag to compare

@jeakob jeakob released this 31 May 20:44

Changes

  • 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.