J. Nick Koston and GitHub
2b2b46c774
Bump habluetooth to 3.0.1 ( #116663 )
2024-05-03 12:15:51 +02:00
J. Nick Koston and GitHub
98ed6e7fe5
Bump habluetooth to 2.7.0 ( #115783 )
2024-04-17 17:47:40 -05:00
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <[email protected] >
Co-authored-by: Marc Mueller <[email protected] >
Co-authored-by: J. Nick Koston <[email protected] >
2024-03-26 00:02:16 +01:00
Marc Mueller and GitHub
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
J. Nick Koston and GitHub
8d4a1f475e
Bump habluetooth to 2.3.1 ( #108628 )
2024-01-21 18:39:17 -10:00
J. Nick Koston and GitHub
07810926d0
Update habluetooth to 2.2.0 ( #108000 )
...
* Update habluetooth to 2.2.0
* fixes
* lib
2024-01-13 23:50:47 -05:00
J. Nick Koston and GitHub
e50fe79911
Update habluetooth to 2.0.0 ( #106145 )
2023-12-20 20:37:39 -10:00
J. Nick Koston and GitHub
5dbd0dede1
Refactor Bluetooth scanners to avoid the need to pass a callback ( #105607 )
2023-12-13 09:17:48 +01:00
J. Nick Koston and GitHub
f002a6a732
Refactor all Bluetooth scanners to inherit from BaseHaRemoteScanner ( #105523 )
2023-12-12 21:28:43 +01:00
J. Nick Koston and GitHub
b6245c834d
Move local bluetooth scanner code into habluetooth library ( #104970 )
2023-12-05 07:19:02 -10:00
J. Nick Koston and GitHub
dd9c22672a
Refactor bluetooth scanners for better seperation of concerns ( #104909 )
2023-12-02 13:20:06 -10:00
J. Nick Koston and GitHub
f9dbddc884
Small cleanups to Bluetooth fallback intervals ( #102440 )
2023-10-21 10:06:49 -10:00
J. Nick Koston and GitHub
2a5ffa9a5b
Fix timestamps for bluetooth scanners that bundle advertisements ( #94511 )
...
#94138 added support for raw/bundled advertisements. We should use the
same monotonic time for all advertisements in the bundle if not time
is passed, or calculate the timestamp and pass it if its known
2023-06-14 21:47:00 -04:00
c3043fb0ee
Bump bluetooth deps for bleak 0.20 ( #89925 )
...
Co-authored-by: K <[email protected] >
2023-03-20 12:06:15 +01:00
epenet and GitHub
0cf5e9fb4a
Add type hints to integration tests (part 2) ( #87789 )
...
* Add type hints to integration tests (part 2)
* typo
* Improve analytics
* Improve automation
* Imrpove bluetooth
2023-02-10 16:05:26 +01:00
Franck Nijhof and GitHub
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Franck Nijhof and GitHub
24fdd588fd
Code styling tweaks to the tests - Part 1 ( #86192 )
2023-01-20 13:52:46 +01:00
J. Nick Koston and GitHub
070aa714a0
Switch to a different local Bluetooth adapter when one runs out of connection slots ( #84331 )
2022-12-23 08:58:33 -10:00
J. Nick Koston and GitHub
0e2ebfe5c4
Move bluetooth watchdog into the scanner base class ( #83888 )
2022-12-13 11:57:40 -10:00
J. Nick Koston and GitHub
80a8d5443d
Improve remote bluetooth scanner diagnostics and add missing test cover ( #83796 )
2022-12-11 21:33:30 -10:00
J. Nick Koston and GitHub
46b18367f7
Send back BLE address type when connecting via esphome proxies ( #82890 )
2022-11-28 18:54:53 -10:00
d6e287f47a
Add manufacturer and model to bluetooth adapter device ( #82769 )
...
Co-authored-by: Paulus Schoutsen <[email protected] >
2022-11-27 15:44:44 -05:00
J. Nick Koston and GitHub
f0ae1cc6ce
Add bluetooth diagnostics to esphome ( #82761 )
2022-11-27 14:59:37 -05:00
J. Nick Koston and GitHub
47c66dbed4
Offload platform specific bluetooth code to bluetooth-adapters ( #82196 )
...
* 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 and GitHub
682187541f
Move BluetoothServiceInfoBleak to home_assistant_bluetooth ( #82064 )
2022-11-15 14:00:52 -06:00
J. Nick Koston and GitHub
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
J. Nick Koston and GitHub
d12cbab6c4
Bump bleak to 0.19.0 ( #80349 )
2022-10-15 13:57:23 -04:00
J. Nick Koston and GitHub
0c76e3a97e
Automatically determine the advertising interval for bluetooth devices ( #79669 )
2022-10-14 14:39:18 -04:00
J. Nick Koston and GitHub
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 and GitHub
635c2f3738
Change bluetooth source to be the address of the adapter on Linux ( #78795 )
2022-09-19 20:58:18 -04:00
J. Nick Koston and GitHub
a28aeeeca7
Hide bluetooth passive option if its not available on the host system ( #77421 )
...
* 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 and GitHub
8e88e039f7
Add diagnostics to bluetooth ( #77393 )
2022-08-27 16:41:49 -05:00