github noiwid/HAFamilyLink v1.2.14-rc1
v1.2.14-rc1 - ChromeOS time bonus fix (#141)

pre-release11 hours ago

Pre-release for validation, mainly of the ChromeOS time bonus fix (#141). To install it through HACS, enable "Show beta versions" for this repository (repository page, three-dot menu, Redownload, toggle beta), then pick v1.2.14-rc1. A full Home Assistant restart is required after updating.

Time bonuses now work on ChromeOS devices (#141)

Web-app captures provided by @digitalrealism showed that Google posts bonuses in two different wire shapes: Android uses override type 10 with the duration in seconds, ChromeOS uses type 6 with the duration in milliseconds at a different position. The integration always sent the Android shape; Google answered HTTP 200 but a Chromebook never applied it, so the device unlocked while the Family Link app showed no active bonus and no countdown.

The integration now:

  • picks the right shape per device (ChromeOS is detected by its much longer device id, the only observable discriminator; the payloads were validated byte for byte against the captures),
  • reads ChromeOS bonuses back, so the active-bonus sensor and the reset-bonus button also work on Chromebooks,
  • falls back to the legacy shape with a log warning if the new shape is confirmed not applied, so the worst case equals the previous behavior.

Android devices build exactly the same request bytes as before: nothing changes for existing setups.

Time bonuses are verified after creation (#141 groundwork)

Google acknowledges a bonus with HTTP 200 even when it never takes effect. After posting a bonus, the integration now reads it back from the applied state and logs either a confirmation with the override id or an explicit warning, instead of an unconditional success. Silent half-failures now leave a trace.

Fixed

  • The config flow "invalid API key" message (all languages) pointed at an api_key file that no longer exists in standalone mode since add-on 1.7.1; it now points at the API_KEY environment variable value.

Also since v1.2.13

  • Full documentation overhaul and repository cleanup (#144): README, INSTALL, SERVICES, standalone Docker guide and the add-on docs were rewritten against the code, with one-click my.home-assistant.io install buttons.
  • Add-on 1.8.1: installs now pull the prebuilt multi-arch image from GHCR instead of compiling Chromium locally (#146). The add-on updates independently of this release through the add-on store.

Full changelog: v1.2.13...v1.2.14-rc1

Don't miss a new HAFamilyLink release

NewReleases is sending notifications on new releases.