Repository navigation
0.7.1
Home Assistant sets up the Deako integration about a second faster with this release, and each reconnect is about a second faster too. The library is called the same way as in 0.7.0.
Changes
connect()returns as soon as the bridge accepts the connection. It used to check the socket once a second, so it always took at least 1 s although connecting takes a few milliseconds.find_devices()had the same one-second check while the devices arrived, so a bridge with more devices than fit in one read added another second. Both now wait for the bridge's messages, with the same timeouts as before (#11).- The README says how long
connect()andfind_devices()wait, and unclear docstrings were rewritten (#12). - From this release on, the release workflow signs the wheel and sdist with Sigstore and attaches them, with their signatures, to the GitHub release (#10).
For contributors
A test runs the start-up against the fake bridge with the library's real timings and fails if a polling delay comes back. The suite no longer shortens the library's timings, and it runs in about 3.5 s. The repository now has a code of conduct and a feature request form (#9).
Known issues
The two bugs from 0.7.0 are still open: calling connect() twice leaves the first connection open, and calling disconnect() while connect() is still looking for a bridge doesn't stop the retries.
Full changelog: 0.7.0...0.7.1