Skip to content

Conversation

@Drafteed
Copy link
Contributor

Fixes #81

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces manual Bluetooth Low Energy connection handling with the bleak-retry-connector library to improve connection reliability and built-in retry logic for the SkyKettle integration, addressing issue #81.

Key changes:

  • Replaced manual BleakClient connection with establish_connection using BleakClientWithServiceCache
  • Removed manual timeout handling (asyncio.wait_for wrapper and CONNECTION_TIMEOUT constant)
  • Simplified connection logic by leveraging built-in retry functionality

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ClusterM ClusterM merged commit 3e34dfe into ClusterM:master Nov 20, 2025
@ClusterM
Copy link
Owner

Merged, thank you!

@Drafteed Drafteed deleted the use-bleak-retry-connector branch November 20, 2025 17:51
@Drafteed
Copy link
Contributor Author

@ClusterM Все-таки предложение Copilot добавить bleak-retry-connector в manifest.json было кривым. Интеграция не стартует, нужно убрать. Мне создать новый PR?

@Drafteed Drafteed mentioned this pull request Nov 20, 2025
@Drafteed
Copy link
Contributor Author

#83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Использование bleak-retry-connector

2 participants