Joost Lekkerkerker
23ffcaf187
Improve lists in integrations [B] ( #113069 )
2024-03-11 18:59:57 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Marc Mueller
4893087a7e
Add TypeVar defaults for DataUpdateCoordinator ( #111949 )
2024-03-08 11:14:16 +01:00
J. Nick Koston
0b0036fb12
Bump habluetooth to 2.4.2 ( #111885 )
2024-02-29 12:49:28 -10:00
Erik Montnemery
6fe28d3764
Migrate integrations a-d to generic flowhandler ( #111861 )
2024-02-29 20:07:14 +01:00
J. Nick Koston
3c25e2a4bd
Small speed up to Bluetooth setup ( #111677 )
2024-02-27 12:43:44 -10:00
J. Nick Koston
e25b097376
Import bluetooth in the executor to avoid blocking the event loop ( #111596 )
2024-02-27 07:05:39 -10:00
J. Nick Koston
014e21ce80
Bump bluetooth-adapters to 0.18.0 ( #111316 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-adapters/compare/v0.17.0...v0.18.0
2024-02-25 23:07:12 +02:00
J. Nick Koston
b9b52b5e6d
Reduce Bluetooth setup time ( #111304 )
2024-02-24 11:31:45 -10:00
J. Nick Koston
e5ac7970ca
Bump habluetooth to 2.4.1 ( #111236 )
...
changelog: https://github.com/Bluetooth-Devices/habluetooth/compare/v2.4.0...v2.4.1
2024-02-24 08:38:50 -05:00
J. Nick Koston
ff0e0b3e77
Convert debouncer async_shutdown to be a normal function ( #111257 )
...
* Convert debouncer async_shutdown to be a normal function
nothing was being awaited here and the shutdown call was only used
in integrations marked internal and other internals. Its possible
that a custom component might have been using the method but it
seemed uncommon enough that it did not warrent marking as a breaking
change. The update coordinator is no longer awaiting anything in
async_shutdown either now but it seemed likely that this use
would get subclassed.
* fix
2024-02-24 08:37:33 +01:00
J. Nick Koston
b60ca4260c
Fix bluetooth manager stop missing callback decorator ( #111232 )
2024-02-23 12:58:55 -10:00
J. Nick Koston
e88dfd4f68
Migrate Bluetooth coordinators to use Debouncer async_schedule_call ( #111077 )
...
* Switch Bluetooth to use Debouncer async_schedule_call
If the debouncer does not fire the underlying call no task has to be
scheduled
* revert change in init
* revert change in init
* revert change in init
2024-02-21 22:03:22 -05:00
Joost Lekkerkerker
6519b24319
Make bluetooth use naming from the entity description ( #97401 )
...
* Make bluetooth use the translation from the entity description
* Remove links to other platforms
* Remove links to other platforms
* Remove links to other platforms
* Add test
* Use is
* Fix test
* Update homeassistant/components/bluetooth/passive_update_processor.py
Co-authored-by: J. Nick Koston <nick@koston.org>
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-06 17:12:15 +01:00
J. Nick Koston
cf188eabdf
Add slots to bluetooth matcher objects ( #109768 )
2024-02-06 09:40:03 -05:00
Marc Mueller
d2dee9e327
Update ruff to 0.1.15 ( #109303 )
2024-02-01 13:29:01 +01:00
J. Nick Koston
904032e944
Bump habluetooth to 2.4.0 ( #108695 )
...
changelog: https://github.com/Bluetooth-Devices/habluetooth/compare/v2.3.1...v2.4.0
2024-01-23 07:46:47 +01:00
J. Nick Koston
8d4a1f475e
Bump habluetooth to 2.3.1 ( #108628 )
2024-01-21 18:39:17 -10:00
J. Nick Koston
d82abd93fb
Bump dbus-fast to 2.21.1 ( #108176 )
2024-01-16 23:15:19 +01:00
J. Nick Koston
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
ce11366b9c
Bump bluetooth deps ( #107816 )
2024-01-12 09:45:49 +01:00
J. Nick Koston
efffbc08aa
Add support for bluetooth local name matchers shorter than 3 chars ( #107411 )
2024-01-07 18:25:56 -10:00
J. Nick Koston
d67c8bb44f
Bump bluetooth-adapters to 0.17.0 ( #107195 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-adapters/compare/v0.16.2...v0.17.0
related https://github.com/home-assistant/operating-system/issues/2944
2024-01-05 06:54:46 +01:00
J. Nick Koston
0ccf8ffbc6
Bump habluetooth to 2.0.2 ( #107097 )
2024-01-04 02:45:47 -10:00
J. Nick Koston
25f09134b2
Bump bleak-retry-connector to 3.4.0 ( #106831 )
2024-01-01 12:16:17 -10:00
J. Nick Koston
bfda3f1ba8
Bump habluetooth to 2.0.1 ( #106750 )
...
fixes switching scanners to quickly since the manager failed
to account for jitter in the auto discovered advertising interval
replaces and closes #96531
changelog: https://github.com/Bluetooth-Devices/habluetooth/compare/v2.0.0...v2.0.1
2023-12-31 06:44:55 -10:00
J. Nick Koston
6845218a24
Bump bluetooth-data-tools to 1.19.0 ( #106156 )
2023-12-20 21:13:59 -10:00
J. Nick Koston
e50fe79911
Update habluetooth to 2.0.0 ( #106145 )
2023-12-20 20:37:39 -10:00
J. Nick Koston
5c503683b7
Bump lru-dict to 1.3.0 ( #105914 )
...
* Bump lru-dict to 1.3.0
changelog: https://github.com/amitdev/lru-dict/compare/v1.2.0...v1.3.0
* fix typing
* quote types
* quote types
2023-12-18 00:16:31 +01:00
J. Nick Koston
e78588a585
Bump bluetooth-adapters to 0.16.2 ( #105878 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-adapters/compare/v0.16.1...v0.16.2
2023-12-17 12:48:08 +01:00
Erik Montnemery
104bcc64b7
Allow inheriting base component entity descriptions in frozen dataclasses ( #105512 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-15 23:33:50 -10:00
J. Nick Koston
7e1dc2286f
Bump bluetooth-data-tools to 1.18.0 ( #105685 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.17.0...v1.18.0
2023-12-14 16:12:52 +01:00
J. Nick Koston
5dbd0dede1
Refactor Bluetooth scanners to avoid the need to pass a callback ( #105607 )
2023-12-13 09:17:48 +01:00
J. Nick Koston
f002a6a732
Refactor all Bluetooth scanners to inherit from BaseHaRemoteScanner ( #105523 )
2023-12-12 21:28:43 +01:00
J. Nick Koston
c7a95d5654
Bump dbus-fast to 2.21.0 ( #105536 )
2023-12-12 07:55:12 -10:00
J. Nick Koston
e2abd3b8d0
Bump bluetooth libraries ( #105522 )
2023-12-12 08:31:23 +01:00
J. Nick Koston
e890671192
Relocate Bluetooth manager to habluetooth library ( #105110 )
...
* Relocate Bluetooth manager to habluetooth library
* Relocate Bluetooth manager to habluetooth library
* Relocate Bluetooth manager to habluetooth library
* fixes
* fix patching time
* fix more tests
* fix more tests
* split
* Bump habluetooth to 0.7.0
changelog: https://github.com/Bluetooth-Devices/habluetooth/compare/v0.6.1...v0.7.0
This is the big change that will move the manager so the HA
PR that will follow this will be a bit larger than the rest of them
since the manager is connected to everything
* fix types
* fix types
* fix types
* fix patch targets
* fix flakey logbook tests (will need another PR)
* mock shutdown
* bump again
* value can be a float now
* Revert "value can be a float now"
This reverts commit b7e7127143
.
* float
2023-12-11 15:42:00 -05:00
Erik Montnemery
dd338799d4
Make it possible to inherit EntityDescription in frozen and mutable dataclasses ( #105211 )
2023-12-11 20:00:55 +01:00
J. Nick Koston
8aacd3ea1b
Bump habluetooth to 0.10.0 ( #105118 )
2023-12-08 08:56:32 +01:00
J. Nick Koston
a528183556
Bump habluetooth to 0.8.0 ( #105109 )
2023-12-06 08:15:24 +01:00
J. Nick Koston
3c635fdbf2
Split bluetooth manager so it can be extracted into the habluetooth lib ( #105015 )
2023-12-05 19:54:50 +01:00
J. Nick Koston
94d168e20e
Move Bluetooth advertisement tracker to habluetooth library ( #105083 )
2023-12-05 19:53:29 +01:00
J. Nick Koston
b6245c834d
Move local bluetooth scanner code into habluetooth library ( #104970 )
2023-12-05 07:19:02 -10:00
J. Nick Koston
9b53fa6478
Bump habluetooth to 0.6.1 ( #105029 )
2023-12-05 09:30:21 +01:00
J. Nick Koston
b0d0f15911
Bump dbus-fast to 2.20.0 ( #104978 )
2023-12-03 22:53:47 -10:00
J. Nick Koston
401c890364
Bump habluetooth to 0.5.1 ( #104969 )
...
* bump lib
* bump again to be patchable
2023-12-04 08:42:07 +01:00
J. Nick Koston
c1f68c3767
Bump habluetooth to 0.4.0 ( #104958 )
2023-12-03 12:18:10 -10:00
J. Nick Koston
28584ad240
Relocate base Bluetooth scanner code into an external library ( #104930 )
2023-12-03 10:00:11 -10:00
J. Nick Koston
c8bb72935d
Bump bluetooth-data-tools to 1.17.0 ( #104935 )
2023-12-03 08:53:17 -10:00
J. Nick Koston
dd9c22672a
Refactor bluetooth scanners for better seperation of concerns ( #104909 )
2023-12-02 13:20:06 -10:00
J. Nick Koston
a3dd2b8ea9
Migrate to using faster monotonic_time_coarse from bluetooth-data-tools ( #104882 )
2023-12-01 10:57:09 -10:00
J. Nick Koston
970751a635
Bump bluetooth-data-tools to 0.16.0 ( #104854 )
2023-12-01 04:44:58 -07:00
J. Nick Koston
b94c9c8f6d
Bump bluetooth-data-tools to 1.15.0 ( #104480 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.14.0...v1.15.0
2023-11-25 08:21:25 +01:00
J. Nick Koston
d3b4dd226b
Prevent Bluetooth reconnects from blocking shutdown ( #104150 )
2023-11-19 08:22:26 -06:00
J. Nick Koston
e7cec9b148
Small speed up to constructing Bluetooth service_uuids ( #104193 )
2023-11-19 08:14:55 -06:00
J. Nick Koston
253e6188eb
Bump dbus-fast to 2.14.0 ( #103754 )
2023-11-10 17:11:41 +01:00
J. Nick Koston
23578d8046
Bump dbus-fast to 2.13.1 ( #103621 )
...
* Bump dbus-fast to 2.13.0
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v2.12.0...v2.13.0
* no change re-release since upload failed due to running out of space on pypi
2023-11-07 19:42:53 -06:00
J. Nick Koston
8ef3cf2e18
Bump bluetooth-data-tools to 0.14.0 ( #103413 )
...
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.13.0...v1.14.0
2023-11-05 07:07:44 -06:00
J. Nick Koston
5bcff82148
Remove useless inner function in the base Bluetooth coordinator ( #103305 )
...
Remove unless inner function in the base Bluetooth coordinator
2023-11-03 15:41:47 +01:00
J. Nick Koston
c81ada16ba
Add debug logging for which adapter is used to connect bluetooth devices ( #103264 )
...
Log which adapter is used to connect bluetooth devices
This is a debug logging improvement to help users find problems
with their setup
2023-11-03 07:35:51 +01:00
Jan-Philipp Benecke
43915fbaf3
Add connections to PassiveBluetoothProcessorEntity ( #102854 )
2023-10-27 12:09:59 +02:00
J. Nick Koston
b89e7a2fe2
Bump bleak-retry-connector to 3.3.0 ( #102825 )
...
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v3.2.1...v3.3.0
2023-10-25 23:23:06 -04:00
Erik Montnemery
64f0ea60d1
Correct logic for picking bluetooth local name ( #102823 )
...
* Correct logic for picking bluetooth local name
* make test more robust
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-25 18:08:31 -05:00
J. Nick Koston
b3bd34a024
Avoid dispatching same state to passive bluetooth entities ( #102430 )
2023-10-22 14:08:28 +02:00
J. Nick Koston
51596c6231
Remove useless freezing on PassiveBluetoothDataUpdate ( #102434 )
2023-10-21 10:07:02 -10:00
J. Nick Koston
f9dbddc884
Small cleanups to Bluetooth fallback intervals ( #102440 )
2023-10-21 10:06:49 -10:00
J. Nick Koston
89f9d64bf5
Add early return check to passive Bluetooth entities listener ( #102435 )
2023-10-21 10:06:39 -10:00
J. Nick Koston
22de378d91
Bump bluetooth-data-tools to 1.13.0 ( #102208 )
2023-10-18 08:54:17 -10:00
J. Nick Koston
d0bff10502
Bump dbus-fast to 2.12.0 ( #102206 )
2023-10-18 07:14:13 -10:00
J. Nick Koston
c951c03447
Bump dbus-fast to 2.11.1 ( #101406 )
...
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v2.11.0...v2.11.1
2023-10-04 21:01:10 -04:00
J. Nick Koston
b21451b3d1
Bump dbus-fast to 2.11.0 ( #101005 )
2023-09-27 10:23:06 -05:00
Raman Gupta
067b94899f
Move EVENT_LOGGING_CHANGED to constants ( #100974 )
...
* Move EVENT_LOGGING_CHANGED to constants
* fix test
* remove logger as dependency for bluetooth and fix test
2023-09-27 01:06:14 -04:00
J. Nick Koston
667f4b1ca8
Mark Bluetooth scanner as not scanning when watchdog timeout is reached ( #100738 )
2023-09-26 05:29:46 -05:00
J. Nick Koston
dbdc513aa5
Bump dbus-fast to 2.10.0 ( #100879 )
2023-09-25 16:19:03 -05:00
J. Nick Koston
b9e8566608
Bump bluetooth-data-tools to 0.12.0 ( #100794 )
2023-09-24 20:29:29 +02:00
Jc2k
f0375eb97e
Expose bluetooth availability tracking interval controls to integrations ( #100774 )
2023-09-24 10:45:25 +02:00
J. Nick Koston
8b5129a7d9
Bump dbus-fast to 2.9.0 ( #100638 )
2023-09-20 13:58:34 +02:00
J. Nick Koston
df74ed0d40
Bump bleak-retry-connector to 3.2.1 ( #100377 )
2023-09-14 15:13:15 -05:00
J. Nick Koston
d8d756dd7d
Bump dbus-fast to 2.7.0 ( #100321 )
2023-09-13 14:33:42 -05:00
J. Nick Koston
e8ed4c1ace
Bump dbus-fast to 2.6.0 ( #100163 )
...
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v2.4.0...v2.6.0
2023-09-12 08:56:02 +02:00
J. Nick Koston
140af44e31
Bump dbus-fast to 2.4.0 ( #100158 )
2023-09-11 21:40:32 -05:00
J. Nick Koston
80e05716c0
Bump dbus-fast to 2.2.0 ( #100076 )
2023-09-10 16:38:39 -05:00
Jan Bouwhuis
6899245020
Use hass.loop.create_future() for bluetooth ( #100054 )
2023-09-10 17:16:16 +02:00
J. Nick Koston
aff49cb67a
Bump bluetooth-auto-recovery to 1.2.3 ( #99979 )
...
fixes #99977
2023-09-09 19:23:15 +02:00
J. Nick Koston
f903cd6fc0
Bump dbus-fast to 2.0.1 ( #99894 )
2023-09-08 21:16:21 -05:00
J. Nick Koston
694638cbc0
Bump bleak to 0.21.1 ( #99960 )
2023-09-08 19:39:30 -05:00
J. Nick Koston
8742c550be
Upgrade bluetooth deps to fix timeout behavior on py3.11 ( #99879 )
2023-09-08 13:25:25 +02:00
J. Nick Koston
54bd7c9af0
Bump dbus-fast to 1.95.2 ( #99852 )
2023-09-07 13:27:29 -05:00
J. Nick Koston
533350b94a
Bump dbus-fast to 1.95.0 ( #99749 )
2023-09-06 13:21:21 -05:00
J. Nick Koston
63273a307a
Fix Bluetooth passive update processor dispatching updates to unchanged entities ( #99527 )
...
* Fix passive update processor dispatching updates to unchanged entities
* adjust tests
* coverage
* fix
* Update homeassistant/components/bluetooth/update_coordinator.py
2023-09-04 20:42:05 -04:00
J. Nick Koston
d063650fec
Bump bleak-retry-connector to 3.1.2 ( #99540 )
2023-09-03 09:13:21 -05:00
J. Nick Koston
8843a445c9
Reduce Bluetooth coordinator/processor overhead ( #99526 )
2023-09-03 08:59:15 -05:00
J. Nick Koston
00893bbf14
Bump bleak to 0.21.0 ( #99520 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-09-03 08:22:03 -05:00
Jc2k
e465a4f820
Update bluetooth-data-tools to 1.11.0 ( #99485 )
2023-09-01 17:33:19 -05:00
J. Nick Koston
6cd28b64e8
Bump bluetooth-data-tools 1.9.1 ( #99131 )
2023-08-27 10:10:00 -05:00
J. Nick Koston
5cc49f6dd6
Bump dbus-fast to 1.94.1 ( #99132 )
2023-08-27 09:27:30 -05:00
J. Nick Koston
3ebf96143a
Improve performance of bluetooth coordinators ( #98997 )
2023-08-25 10:31:43 +02:00
J. Nick Koston
53eb4d0ead
Bump dbus-fast to 1.94.0 ( #98973 )
2023-08-24 11:10:38 -05:00
J. Nick Koston
46a0f84101
Bump bluetooth-data-tools to 1.9.0 ( #98927 )
2023-08-23 20:18:21 -05:00