Skip to content

Adaptive Cover Pro ⛅ v2.25.3

Choose a tag to compare

@jrhubott jrhubott released this 06 Jun 16:34
· 198 commits to main since this release

ℹ Using release notes from: release_notes/v2.25.3.md
One targeted fix for sunset/sunrise boundary comparisons in non-UTC timezones.


🐛 Fixes

Sunset/sunrise boundary now compared in UTC (#531, #533, #535)

In homes on a non-UTC timezone, entity-derived sunset/sunrise boundary times were compared in mismatched frames. compute_effective_default received a naive wall-clock time from the entity and compared it against a naive-UTC time, producing an offset equal to the UTC offset — two hours ahead in CEST, for example. Covers in those timezones would activate sunset behavior too early or not at all.

  • helpers.py gains _local_naive_to_utc_naive, which converts a naive local wall-clock time to naive UTC before the boundary comparison.
  • compute_effective_default now calls this helper, so both sides of the comparison are in the same frame.
  • Regression tests cover positive and negative UTC offsets.

Compatibility

  • Home Assistant 2026.3.0+

References