Skip to content

v2.0.7

Choose a tag to compare

@andrejs2 andrejs2 released this 29 Mar 07:49

Hardcode all ARSO locations as config flow fallback

Problem

ARSO locations API (locations.json) has become occasionally unreliable, causing the config flow to fall back to only ~105 primary observation stations instead of the full location list when adding a new location.

Fix

  • Added ALL_LOCATIONS tuple (174 locations) to station_map.py as a complete hardcoded fallback
  • Config flow now falls back to all 174 locations (previously only 105 primary stations)
  • Primary behavior unchanged: API is still called first, fallback only activates when ARSO is down

Notes

  • ARSO reduced their location count from 247 to 174 — updated all references
  • The Django endpoint /api/1.0/locations/ (without parameters) now returns HTTP 500, but the integration does not use this endpoint