Skip to content

Add Tile cloud client to fetch auth keys - #14

Merged
joostlek merged 2 commits into
mainfrom
clanker/ble-library-pr-807-896c64
Nov 16, 2026
Merged

joostlek merged 2 commits into
mainfrom
clanker/ble-library-pr-807-896c64

Conversation

@joostlek

Copy link
Copy Markdown
Owner

Proposed Changes

(Describe the changes and rationale behind them)

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

(Github link to related issues or pull requests)

Follows the login flow of pytile; related to bachya/pytile#807.

🤖 Generated with Claude Code

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>
@joostlek joostlek added the new-feature New features or options. label Nov 16, 2026
@codecov-commenter

codecov-commenter commented Nov 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.67%. Comparing base (e332ffe) to head (6be8119).
⚠️ Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@joostlek
joostlek merged commit 1a0ecf0 into main Nov 16, 2026
13 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

new-feature New features or options.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants