Skip to content

v3.2.0-beta2

Pre-release
Pre-release

Choose a tag to compare

@krissen krissen released this 05 May 10:34
f319e3f

v3.2.0-beta2 -- second pre-release

Second beta. Carries everything from v3.2.0-beta1 plus the MSW polish that surfaced from beta1 testing and a small editor UX improvement.

Changes since beta1

MSW (#214)

  • pollen_threshold default 0 → 1, matching every other adapter's convention of hiding None-level allergens by default. The 0 default surfaced "None" entries on a fresh card.
  • Stub picks up the day-label display defaults the other nine adapters set (days_relative, days_abbreviated, days_boldfaced, days_uppercase, show_empty_days); daysRelative is now respected at runtime instead of hard-coded.
  • Level mapping is now the integration's native 5-level scale (0-4) instead of a 0-6 spread at indices [0, 1, 3, 5, 6]. State, display_state, level circles and color mapping are all on the native scale.
  • Editor's level-name fields now show 5 inputs (None / Low / Medium / Strong / Very Strong) instead of seven.
  • Doughnut chart for MSW now renders 4 segments, so Very Strong fills the chart (was 6 segments with two never-filled).
  • New per-scale i18n keys (card.levels5.0..4, editor.phrases_levels5.0..4) in all 15 locale files, sourced from the same translations PEU has shown via runtime spread for years -- transparent migration, no fresh translation work. MSW reads from these via a new buildLevelNamesForScale(scale, ...) helper. Result: state=4 now reads as "Very high levels" (en) / "Mycket höga halter" (sv) instead of "Moderate-high levels" / "Måttliga halter" -- semantically correct.

Editor (#213)

  • The integration dropdown is now a single visible list with two alphabetically-sorted segments: detected/installed integrations first, then the remaining adapters. With ten supported integrations the legacy registry-order list was hard to scan.

Other follow-ups not in this beta

  • #215 -- PEU's runtime [0, 1, 3, 5, 6] level-name spread can now be retired and replaced with buildLevelNamesForScale(5, ...). Scoped separately because it touches user-config backwards compat. Will not block 3.2.0 final.

What to look for

Same scope as beta1, plus:

  • For MSW: do the level-name fields in the editor show 5 entries with semantically-right defaults?
  • For MSW: at "Very Strong" the chart should fill completely (4/4 segments). At "Strong" -> 3/4. (May require waiting for a real-world Very Strong reading -- they're seasonal.)
  • Visual editor: integration dropdown should list installed integrations first, alphabetically.

Reporting

Open an issue with the integration(s) you have, whether you're using the editor or YAML, a screenshot, and (if possible) debug: true console output.

Credits

Thanks to @r3turnNull for the MSW adapter (#212) and to @izacus for the upstream hass-swissweather integration.