Repository navigation
Releases: Timothee-Rolland/HA-Invader-Tracker
Release list
v2.7.0 — UID editable from options
What's new
UID changeable from the options menu
The Flash Invader UID can now be updated directly from the integration's Configure menu, alongside the existing settings (Awazleon API key, cities, intervals).
- The new UID is validated against the Flash Invader API before saving
- The config entry unique ID is updated automatically
- Validation errors are shown inline on the UID field
Full changelog
- feat: UID editable from integration options menu
v2.6.0 — Awazleon API key support
What's new
Awazleon API key required
awazleon.space now requires an API key for access. This release adds support for it.
To obtain a key:
- Request it directly at www.awazleon.space
- Or via the Space Invaders Discord server
Setup
During initial configuration (or in the integration options), a new step asks for the key. It is optional — leaving it blank disables the Awazleon data source gracefully, without blocking startup or causing errors. Your Flash Invader personal data and invader-spotter.art news feed remain fully active.
Other changes
Invaders To Flashsensors now returnNone(unavailable) when the list is empty, instead of the hardcoded string"Aucun"- Minor dead code removal
Upgrading
Go to Settings → Devices & Services → Invader Tracker → Configure and enter your Awazleon API key. Without it, city invader counts (total, unflashed, etc.) will not be populated.
v2.5.7
Feat
- "Total Invaders" sensor now falls back to Flash Invader API (
si_countper city) when Awazleon is unavailable. The mapping between numeric city IDs and city codes (e.g.1 → PA) is derived automatically from your flashed invaders — no Awazleon required. - "Flashed" and "Total Invaders" sensors now remain available even when Awazleon is down.
v2.5.6
Fix
- "Flashed" sensor per city now depends only on the Flash Invader API. It remains available even when Awazleon is down, and stays attached to the same city device in Home Assistant.
v2.5.5
Changes
- Default update interval changed from 1 hour to 4 hours
- Added "Every 4 hours" as a predefined interval option in the config flow
v2.5.4
Fix
- Awazleon API failure at startup no longer blocks the integration from loading. The coordinator will retry automatically on schedule. Flash Invader and player profile are unaffected.
v2.5.3
Fixed
- New & Reactivated incomplets — les listes d'ajouts longues dans
news.phps'étendent sur plusieurs lignes. Seule la première était parsée ; les IDs des lignes suivantes étaient silencieusement ignorés. Les lignes de continuation sont maintenant fusionnées avant parsing.
v2.5.2
Fixed
- "Platform not found" au démarrage — mauvais chemin d'import pour
SelectSelector(homeassistant.components.selector→homeassistant.helpers.selector)
v2.5.1
Bug fixes
Fixed
- Total invaders always showing ~3 — awazleon response structure was misread: invaders are under
data["invaders"], not at the root level - Flashed / Unflashed / Gone counts wrong — awazleon pads IDs with leading zeros (
PA_01) while Flash Invader does not (PA_1); IDs are now normalized so cross-source matching works - No city list in config/options flow — awazleon
/cities/infonests cities underdata["cities"]["details"], notdata["cities"]directly - Interval and options dropdowns showing raw keys or radio buttons — replaced
vol.InwithSelectSelector(DROPDOWN mode) for proper HA UI rendering with readable labels - Translations — updated field names (
update_interval,new_city_days) and addedcustom_intervalstep labels; fixed references to awazleon.space
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.