Skip to content

v0.5.0: Graceful handling of empty API data

Choose a tag to compare

@krissen krissen released this 12 Jan 13:18
6a33ad4

New: Graceful handling of empty API data

When the upstream API temporarily returns no data for a region, sensors now remain visible with clear "stale data" indicators instead of showing confusing "entity no longer provided" messages.

  • Sensors show state unknown instead of becoming unavailable
  • New attributes data_stale: true and stale_since: <timestamp> indicate when data became stale
  • All other sensor attributes remain visible for reference
  • When API data returns, sensors automatically resume normal operation

Check the API Status Page to see current data availability per country.


Compatibility: Works with pollenprognos-card v2.8.1 which displays stale data with visual indicators.


Full Changelog: v0.4.5...v0.5.0