Skip to content

v1.9.1

Choose a tag to compare

@eXPerience83 eXPerience83 released this 10 Feb 14:19

๐ŸŒผ Pollen Levels v1.9.1

๐Ÿ› ๏ธ Maintenance release focused on resilience, privacy, and safer service behavior.
Includes one breaking change: removal of color_raw from pollen sensors to reduce state size.


๐Ÿš€ Highlights

  • ๐Ÿงฉ More resilient coordinator updates

    • The integration now preserves the last successful coordinator data when the API response temporarily omits dailyInfo, preventing entities from going empty due to transient API glitches.
    • Shutdown/reload paths are cleaner: coordinator CancelledError is re-raised so cancellations are not wrapped as UpdateFailed.
  • ๐Ÿ” Stronger privacy & safer UI errors

    • API keys are now redacted from config flow error placeholders derived from API responses, preventing secrets from appearing in setup errors.
    • Diagnostics are safer and leaner:
      • redaction returns the final redacted payload correctly (no accidental awaiting of sync helpers),
      • payloads are trimmed to avoid dumping all keys,
      • and precise coordinates are hidden while keeping rounded location context for support.
  • ๐Ÿ”„ Improved pollenlevels.force_update behavior

    • The service now requests a refresh and waits for completion before returning.
    • Failure logging is sanitized to avoid exposing raw exception details.
    • Cancelled refresh results are handled explicitly so logging and control flow stay consistent during shutdown/reload.

โš ๏ธ Breaking change

  • Removed color_raw attribute from pollen sensors to reduce state size.
    Use color_hex or color_rgb instead.

๐Ÿ”ง Detailed changes

[1.9.1] โ€“ 2026-01-10

Fixed

  • Preserved the last successful coordinator data when the API response omits dailyInfo, avoiding empty entities after transient API glitches.
  • Redacted API keys from config flow error placeholders derived from API responses to prevent secrets from appearing in setup errors.
  • Cleared stale setup error placeholders when per-day sensor options are incompatible with the selected forecast days.
  • Ensured diagnostics redaction returns the final redacted payload without attempting to await the synchronous helper.
  • Trimmed diagnostics payloads to avoid listing all data keys and to hide precise coordinates while keeping rounded location context for support.
  • Updated the pollenlevels.force_update service to request a coordinator refresh and wait for completion before returning.
  • Sanitized pollenlevels.force_update failure logging to avoid exposing raw exception details in warnings.
  • Handled cancelled force_update refresh results explicitly to keep service logging and control flow consistent during shutdown/reload paths.
  • Re-raised coordinator CancelledError during updates so shutdown/reload cancellations are not wrapped as UpdateFailed.

Changed

  • Breaking change: removed the color_raw attribute from pollen sensors to reduce state size; use color_hex or color_rgb instead.
  • Refactored config flow HTTP validation to reduce duplicated error handling logic without changing behavior.
  • Updated README attributes list to remove color_raw now that it is no longer exposed by sensors.
  • Removed unused internal color_raw coordinator payload fields to reduce update payload size while keeping color_hex/color_rgb behavior unchanged.
  • Clarified diagnostics coordinator access when runtime_data is missing, without changing diagnostics output.

If youโ€™re upgrading from 1.9.0, please note:

  • If you relied on color_raw in templates or dashboards, switch to color_hex or color_rgb.
  • If you saw entities briefly go empty due to API hiccups, this release should prevent that by retaining the last good data.

Full Changelog: v1.8.6...v1.9.1