Skip to content

Releases: Timothee-Rolland/HA-Invader-Tracker

v2.7.0 — UID editable from options

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 06 Jun 09:46

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

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 26 May 07:57

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:

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 Flash sensors now return None (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

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 24 May 12:35

Feat

  • "Total Invaders" sensor now falls back to Flash Invader API (si_count per 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

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 24 May 12:23

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

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 24 May 12:16

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

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 22 May 21:40

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

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 16 Apr 12:11

Fixed

  • New & Reactivated incomplets — les listes d'ajouts longues dans news.php s'é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

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 15 Apr 15:46

Fixed

  • "Platform not found" au démarrage — mauvais chemin d'import pour SelectSelector (homeassistant.components.selector → homeassistant.helpers.selector)

v2.5.1

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 15 Apr 15:41

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/info nests cities under data["cities"]["details"], not data["cities"] directly
  • Interval and options dropdowns showing raw keys or radio buttons — replaced vol.In with SelectSelector (DROPDOWN mode) for proper HA UI rendering with readable labels
  • Translations — updated field names (update_interval, new_city_days) and added custom_interval step labels; fixed references to awazleon.space

v2.5.0

Choose a tag to compare

@Timothee-Rolland Timothee-Rolland released this 15 Apr 11:26

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.