Skip to content

2.2.0

Choose a tag to compare

@mutilator mutilator released this 18 May 19:58

[2.2.0]

The current entity id's were not unique enough, this release updates entity id names with a prefix of the device serial to keep them unique. I recommend integrations like Spook to help identify and update areas where you may have entities that need updated.

Breaking Changes

  • Entity ID Prefixing: All entity IDs are now prefixed with the device serial number (lowercased)
    • Example: sensor.statesensor.sl002457123961_state
    • This ensures multiple iQua devices can coexist without entity ID collisions
    • Action required: Update any automations, scripts, scenes, dashboards, and templates that reference old entity IDs
    • On upgrade, a persistent notification and a Repairs issue (Settings → Repairs) will list every renamed entity ID for easy reference
    • Entities with user-customised IDs are left untouched — only integration-generated default IDs are renamed

Added

  • Dynamic Rate-Limit Backoff: Backoff durations are now derived from the ratelimit-policy response header returned by the API
    • The library parses ratelimit-policy on every response and computes the token refill interval
    • WebSocket URI fetching, WebSocket reconnection, and device detail endpoint all use this live policy value instead of a hard-coded constant
    • If the server changes its rate-limit policy, the integration adapts automatically without requiring an update

Changed

  • Config Entry Version: Bumped to version 2 to trigger automatic entity ID migration on first load after upgrade