Commit Graph

169 Commits (a205ba765641b1552879712b30c42a730db25084)

Author SHA1 Message Date
J. Nick Koston f61c010116
Bump bleak-retry-connector to 2.4.2 (#80908) 2022-10-24 14:27:04 -05:00
J. Nick Koston 9978296ae2
Bump bleak-retry-connector to 2.4.0 (#80887) 2022-10-24 09:28:59 -05:00
J. Nick Koston 95d6859cb7
Log bluetooth advertisement before firing bleak callbacks (#80800)
The debug log was confusing because the bleak callbacks
were firing before we were logging the advertisements
2022-10-23 11:34:03 +02:00
J. Nick Koston b952797298
Bump bleak-retry-connector to 2.3.2 (#80790) 2022-10-22 16:14:11 -05:00
J. Nick Koston 91c5aac8ba
Add homekit notifications to the list of allowed apple bluetooth start bytes (#80733) 2022-10-21 13:54:02 -05:00
GitHub Action 0199e0a756 [ci skip] Translation update 2022-10-21 00:30:37 +00:00
J. Nick Koston 03362bec1c
Defer bluetooth scanner watchdog restart if one is already in progress (#80679) 2022-10-20 13:56:20 -05:00
J. Nick Koston 5589edd814
Fix bluetooth calls from automations in esphome (#80683) 2022-10-20 14:35:38 -04:00
J. Nick Koston da14acb3b6
Speed up restart when bluetooth adapter is in a failed state (#80640) 2022-10-20 16:35:09 +02:00
J. Nick Koston 540d959dd2
Bump bluetooth-auto-recovery to 0.3.6 (#80643)
* Bump bluetooth-auto-recovery to 0.3.5

changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.3.4...v0.3.5

* bump again for more rfkill fixes
2022-10-20 07:13:41 +02:00
J. Nick Koston 2c36ee412a
Bump dbus-fast to 1.47.0 (#80633) 2022-10-19 16:52:19 -05:00
J. Nick Koston a708fc9984
Bump bleak-retry-connector to 2.3.1 (#80549) 2022-10-18 11:48:52 -05:00
J. Nick Koston 1700da0ed3
Reduce chance of bluetooth devices going unavailable when adapter stops responding (#80545) 2022-10-18 11:23:15 -05:00
J. Nick Koston f70f972d88
Fix connectable Bluetooth devices not being seen if the nearest scanner is non-connectable (#80388)
If we saw the non-connectable scanner advertisement first we would reject
the connectable scanner advertisement because it had worse signal strength.

In this case we need to check both
2022-10-17 21:13:26 -04:00
Joakim Plate 9eb4faf037
Fire bluetooth listener for all matching devices (#80440)
* Fire listener for all matching devices

* Add test case for seen device

* Avoid looping all data if we have address match

* Initialize to empty list
2022-10-16 21:49:12 +02:00
J. Nick Koston 3b31330882
Bump bleak-retry-connector to 2.3.0 (#80397) 2022-10-15 14:08:15 -10:00
J. Nick Koston d12cbab6c4
Bump bleak to 0.19.0 (#80349) 2022-10-15 13:57:23 -04:00
J. Nick Koston 0c76e3a97e
Automatically determine the advertising interval for bluetooth devices (#79669) 2022-10-14 14:39:18 -04:00
J. Nick Koston 46c6043856
Bump dbus-fast to 1.45.0 (#80289)
significant performance improvements

https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.44.0...v1.45.0
2022-10-14 00:41:06 +03:00
J. Nick Koston 237b03150e
Bump dbus-fast to 1.44.0 (#80149) 2022-10-12 11:37:26 +02:00
J. Nick Koston fe5534666d
Bump dbus-fast to 1.41.0 (#80062) 2022-10-10 18:52:44 -10:00
J. Nick Koston ef719cf7ef
Bump bluetooth-auto-recovery to 0.3.4 (#79971) 2022-10-09 17:56:11 -10:00
J. Nick Koston 7a1939c608
Bump dbus-fast to 1.38.0 (#79962) 2022-10-09 14:07:22 -10:00
J. Nick Koston 2decb85ee6
Bump dbus-fast to 1.33.0 (#79921) 2022-10-08 15:51:45 -10:00
J. Nick Koston fca8586fb6
Bump dbus-fast to 1.29.1 (#79787)
* Bump dbus-fast to 1.28.0

Performance improvements

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.26.0...v1.28.0

* bump again

* bump for cleanups
2022-10-07 23:50:50 +03:00
J. Nick Koston 9b4c7f5dc5
Bump dbus-fast to 1.26.0 (#79684) 2022-10-05 19:17:10 -10:00
J. Nick Koston c798723c27
Fix bluetooth diagnostics on macos (#79680)
* Fix bluetooth diagnostics on macos

The pyobjc objects cannot be pickled which cases dataclasses
asdict to raise an exception when trying to do the deepcopy

We now implement our own as_dict to avoid this problem

* add cover
2022-10-06 04:32:29 +02:00
J. Nick Koston 89c4bf6536
Bump dbus-fast to 1.24.0 (#79608) 2022-10-04 08:55:28 -10:00
J. Nick Koston a3989b90fe
Bump dbus-fast to 1.23.0 (#79570) 2022-10-03 16:44:54 -10:00
J. Nick Koston 2768b2445a
Remove call to deprecated bleak register_detection_callback (#79558) 2022-10-03 21:15:09 -04:00
J. Nick Koston aa3aa91358
Bump dbus-fast to 1.22.0 (#79527)
Performance improvements
https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.21.17...v1.22.0
2022-10-03 15:11:51 +02:00
J. Nick Koston da960f6ed4
Bump bluetooth dependencies (#79514) 2022-10-02 21:12:14 -04:00
J. Nick Koston 653620345c
Bump dbus-fast to 1.20.0 (#79465) 2022-10-02 12:46:01 -04:00
J. Nick Koston 8a73795f50
Bump bluetooth-adapters to 0.5.3 (#79442) 2022-10-01 21:27:44 -04:00
J. Nick Koston d9191cf2f2
Bump dbus-fast to 1.18.0 (#79440)
Changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.17.0...v1.18.0
2022-10-01 14:45:01 -10:00
GitHub Action bd5ec4e198 [ci skip] Translation update 2022-10-01 00:40:08 +00:00
GitHub Action 21b078eeb7 [ci skip] Translation update 2022-09-30 00:42:29 +00:00
GitHub Action 63f2c4ab98 [ci skip] Translation update 2022-09-29 00:36:54 +00:00
Marc Mueller 4a432db611
Remove type ignore from bluetooth (#79146) 2022-09-28 10:29:55 +02:00
J. Nick Koston 7b708f4b35
Fix bluetooth active update coordinator not returning on failure (#79167)
We also need to return on polling exception so we do not
try to update.

Fixes #79166
2022-09-27 22:51:46 -04:00
J. Nick Koston 8c3e0d527d
Bump dbus-fast to 0.17.0 (#79177)
Changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.15.1...v1.17.0
2022-09-27 22:50:06 -04:00
J. Nick Koston 5eb50f63fd
Ensure bleak_retry_connector uses HaBleakClientWrapper (#79132) 2022-09-27 14:06:10 -04:00
J. Nick Koston 1f6d19bb99
Bump dbus-fast to 0.15.1 (#79111)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.14.0...v1.15.1
2022-09-26 21:50:08 +02:00
J. Nick Koston c89d776d37
Bump bleak-retry-connector to 2.1.3 (#79105) 2022-09-26 08:42:56 -10:00
J. Nick Koston 75f6f9b5e2
Improve performance of Bluetooth device fallback (#79078) 2022-09-26 09:12:08 -04:00
J. Nick Koston 3ad5d799c6
Bump dbus-fast to 1.14.0 (#79063) 2022-09-25 21:02:29 -04:00
J. Nick Koston 26b8e4e0fb
Bump bluetooth dependencies (#79035)
* Bump dbus-fast to 1.10.0

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.9.0...v1.10.0

* bump again

* bump again

* to 13

* bump

* try again
2022-09-24 15:44:59 -10:00
J. Nick Koston a3cb38e114
Bump dbus-fast to 1.9.0 (#79024) 2022-09-24 05:04:52 -10:00
J. Nick Koston 1b144c0e4d
Update to bleak 0.18.0 (#79008) 2022-09-23 15:09:28 -10:00
GitHub Action 3875ce6c9e [ci skip] Translation update 2022-09-24 00:31:54 +00:00