Repository navigation
Add Tile cloud client to fetch auth keys - #14
Merged
Merged
Conversation
Users need the auth key of a Tile to talk to it over Bluetooth. The key comes from the Tile cloud. async_get_tiles() logs in with the account email and password and returns the Tile ID, name and auth key of each Tile. Tile Labels return HTTP 412 for details, so they are skipped. The login flow follows pytile. aiohttp is now a runtime dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14 +/- ##
==========================================
+ Coverage 99.61% 99.67% +0.06%
==========================================
Files 5 6 +1
Lines 260 311 +51
Branches 19 20 +1
==========================================
+ Hits 259 310 +51
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Proposed Changes
Users need a Tile's auth key to talk to it over Bluetooth, and the key only comes from the Tile cloud. This adds a small cloud client that logs in and returns each Tile's ID, name and auth key. Tile Labels are skipped. aiohttp becomes a runtime dependency.
Related Issues
Follows the login flow of pytile; related to bachya/pytile#807.
🤖 Generated with Claude Code