Skip to content

v2.0.6

Choose a tag to compare

@andrejs2 andrejs2 released this 27 Mar 18:48

Bugfixes & Compatibility

Minimum Home Assistant version updated to 2025.1.0

  • The integration uses pydantic v2 APIs which are only available in HA 2025.1.0+
  • hacs.json now enforces the minimum version, preventing installation on incompatible HA versions
  • Previously, installation on older HA (e.g. 2024.10.x) would succeed but immediately crash
  • Fixes #32

Fix avalanche parsing crash when elevation is 'treeline'

  • EAWS CAAMLv6 API can return "treeline" as elevation boundary instead of a numeric value
  • int("treeline") caused a ValueError, preventing the entire config entry from loading
  • Now correctly handles non-numeric elevation values, preserving them as strings in the elevation_boundary attribute

Changes

  • hacs.json: homeassistant bumped from 2024.4.0 to 2025.1.0
  • avalanche_client.py: safe parsing of elevation bounds (numeric → int, text → string)
  • README.md, CLAUDE.md: updated minimum HA version documentation
  • Bump version to 2.0.6