Skip to content

v2.5.0

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 15 Apr 11:26
· 62 commits to main since this release

What's New in v2.5.0

Added

  • World device — aggregated device in HA grouping all stats across all tracked cities: Total Invaders, Flashed, Unflashed (Available), Unflashed (Gone), New & Reactivated, Invaders To Flash, Has New Invaders
  • New City Invaded sensor (World device) — shows the name of the most recently invaded city within a configurable window (default 7 days), otherwise None. Attributes: detected_at (first detection datetime), also_new (other cities detected simultaneously). Persisted via city_first_seen in StateStore
  • New city detection window option in integration settings (3 days, 1 week, 2 weeks, 1 month)

Changed

  • Unified refresh interval — CONF_SCRAPE_INTERVAL and CONF_API_INTERVAL (hours) replaced by CONF_UPDATE_INTERVAL (minutes) common to all sources. Existing entries are migrated automatically. Predefined values: 15 min, 30 min, 1h, 2h, 6h, 12h, 1 day, 1 week, 1 month — plus a "Custom…" option with free input (min. 15 min)
  • awazleon.space REST API for invader data — replaces invader-spotter.art HTML scraping. One HTTP call per city, no BeautifulSoup, more reliable. invader-spotter.art is now used only for news.php (new/reactivated detection)
  • Local imports (json, re, timedelta) moved to module level across all files
  • Removed hardcoded sw_version="1.0" from all DeviceInfo
  • api/__init__.py now exports AwazleonClient
  • Cleaned up obsolete test fixtures in conftest.py

Migration

Existing installations will be automatically migrated to the new unified interval on first load after update. No manual action required.