Repository navigation
v2.5.0
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 viacity_first_seenin StateStore - New city detection window option in integration settings (3 days, 1 week, 2 weeks, 1 month)
Changed
- Unified refresh interval —
CONF_SCRAPE_INTERVALandCONF_API_INTERVAL(hours) replaced byCONF_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 allDeviceInfo api/__init__.pynow exportsAwazleonClient- 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.