Commit graph

12 commits

Author SHA1 Message Date
Franck Nijhof
487782a6d1
Code styling tweaks to Bluetooth ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-08 11:20:02 -10:00
J. Nick Koston
876258e68a
Bump bluetooth-auto-recovery to 1.0.0 ()
fixes https://github.com/home-assistant/core/issues/83673
2022-12-12 11:49:57 +01:00
J. Nick Koston
9008006ac8
Restore remote discovered devices between remote scanner restarts () 2022-12-11 09:02:55 -10:00
J. Nick Koston
47c66dbed4
Offload platform specific bluetooth code to bluetooth-adapters ()
* Offload platform specific bluetooth code to bluetooth-adapters

* adjust

* fix some more patch targets

* more test fixes

* almost there

* may not be setup yet

* more fixes

* fixes

* fix test

* fix merge
2022-11-17 14:34:19 -05:00
J. Nick Koston
e4ecaa433a
Update bluetooth util for upcoming bleak ()
Fixes
```
Nov 08 21:41:14 homeassistant homeassistant[474]: /usr/src/homeassistant/homeassistant/components/bluetooth/util.py:39: FutureWarning: BLEDevice.rssi is deprecated and will be removed in a future version of Bleak, use AdvertisementData.rssi instead
Nov 08 21:41:14 homeassistant homeassistant[474]:   rssi=history.device.rssi,

```
2022-11-13 11:28:49 +01:00
J. Nick Koston
1589c06203
Significantly reduce clock_gettime syscalls on platforms with broken vdso () 2022-10-31 09:35:08 -04:00
J. Nick Koston
9655f30146
Handle Modalias missing from the bluetooth adapter details on older BlueZ () 2022-09-18 21:09:45 -04:00
J. Nick Koston
18eef5da1f
Restore history from bluetooth stack at startup () 2022-09-17 16:58:19 -05:00
J. Nick Koston
a28aeeeca7
Hide bluetooth passive option if its not available on the host system ()
* Hide bluetooth passive option if its not available

- We now have a way to determine in advance if passive
  scanning is supported by BlueZ

* drop string
2022-08-27 19:18:54 -04:00
J. Nick Koston
ced8278e32
Auto recover when the Bluetooth adapter stops responding () 2022-08-20 11:58:14 -10:00
J. Nick Koston
cd59d3ab81
Add support for multiple Bluetooth adapters () 2022-08-18 21:41:07 -04:00
J. Nick Koston
a813cf987b
Add bluetooth options flow to pick the adapter () 2022-07-25 16:52:35 +02:00