github iMicknl/ha-nest-protect v0.5.0b1

pre-release3 hours ago

What's changed

This beta is a large reliability release. It fixes the most common reasons the integration stopped updating or asked to re-authenticate even though your credentials were still valid. It also adds several new sensors and a Firefox-capable credential extension.

Please test it and report back, especially if you have been seeing re-authentication prompts (#526, #474, #653, #658) or entities that stop updating. Include debug logs with any report.

Important

  • Requires Home Assistant 2026.3.0 or newer.
  • Entities now become unavailable when no update has arrived from Nest for 30 minutes, instead of silently showing stale values (#646).
  • The self-test date sensors are now timezone-aware timestamps (#642).
  • Rarely used diagnostic entities (component self-tests, removed-from-base, self-test dates) are disabled by default for new installs only (#650).

Getting credentials that last

Google can revoke a captured session within hours if the browser you captured it from keeps using the same Google sign-in. Capture in a separate browser profile used only for this (Firefox works well), then close it right after copying the code, without signing out. The Nest Auth Helper extension attached to this release now also works in Firefox 121+.

🐛 Bug Fixes

Authentication and session handling

  • Keep background updates alive when authentication recovery fails (#586)
  • Recover background updates from unexpected Google auth errors (#635, fixes #620)
  • Count only authentication failures toward the re-authentication threshold (#638, fixes #624)
  • Serialize Nest session refreshes with a lock (#637, fixes #625)
  • Persist rotated Google cookies as soon as they are received, even when a later step fails (#641, fixes #622)
  • Treat transient Google/Nest server errors as temporary instead of bad credentials (#643, fixes #628)
  • Retry switch, select and lock commands once with a refreshed session (#645, fixes #626)
  • Reject a different Google account on re-authentication, and add a reconfigure step (#647, fixes #627)
  • Escalate backoff on repeated failures, prefer cookies over a leftover legacy token, and start re-authentication when a command's refresh is rejected (#665)

Connection handling

  • Back off when the subscriber fails fast on connection errors, so a network outage no longer floods DNS (#619, fixes #651)
  • Fail fast on subscribe connect timeouts and follow transport URL changes (#644, fixes #630)
  • Space out re-subscribes if Nest keeps answering instantly, and stop re-opening an idle lock stream every 5 minutes (#665, thanks @ljmerza)
  • Mark entities unavailable when Nest updates stop arriving (#646, fixes #621)

Devices and data

  • Pick up new devices automatically and clean up removed ones (#648, fixes #629)
  • Build diagnostics from held data without disturbing the live session (#649, fixes #623)
  • Preserve unknown sensor values and tolerate missing power metadata (#587)
  • Fix KeyError crash in generate_device_info() for Topaz devices with incomplete API data (#534) @bveldhuis

🚀 Features

  • Add Nest x Yale lock support via gRPC-web (#511) @ljmerza
  • Add Smoke and CO alarm state sensors: OK, testing, warning, emergency (#585) @lowlydba
  • Report Protect connectivity, the same "offline" status the Nest app shows (#636)
  • Add home safety summary sensors (#639)
  • Expose the alarm hush state (#631), CO previous peak (#633), battery voltage (#640), and ambient light / temperature self-test results (#632)
  • Report self-test sensors as timezone-aware timestamps (#642)
  • Firefox support and debug logs in the Nest Auth Helper extension (#496) @carsso

📘 Documentation

  • Recommend a dedicated browser profile for capturing credentials (#666)
  • Update auth instructions (#492, #618)
  • Migrate legacy translations to the current format (#491)

🧰 Maintenance

  • Store state in runtime_data, run the subscriber as a config entry background task, set PARALLEL_UPDATES, fix the v2 → v3 config entry migration, and add more Nest DHCP prefixes (#650)
  • Dependency updates, including Home Assistant 2026.10.2 (#617, #660–#664 and earlier Dependabot updates)

Contributors to this release

@bveldhuis, @carsso, @iMicknl, @ljmerza, @lowlydba

Don't miss a new ha-nest-protect release

NewReleases is sending notifications on new releases.