Commit Graph

1123 Commits

Author SHA1 Message Date
J. Nick Koston
63d5928cba
Ensure calling the BLE connection unsubscribe multiple times does not raise (#782) 2023-11-28 15:39:04 -06:00
github-actions[bot]
6a51170e0c Bump version to 19.1.8 2023-11-28 18:31:49 +00:00
J. Nick Koston
e994092214
Remove duplicate line in execute_service (#781) 2023-11-28 12:31:32 -06:00
J. Nick Koston
5c8370c506
Use background task logic for the on_stop callback (#780) 2023-11-28 12:03:55 -06:00
J. Nick Koston
d40e046d1a
Reduce duplicate code in client connection setup (#779) 2023-11-28 11:59:54 -06:00
J. Nick Koston
b3a621f809
Make creating background tasks in the client a bound method (#778) 2023-11-28 11:54:29 -06:00
J. Nick Koston
d40acb1f85
Reduce duplicate Bluetooth message filtering code (#777) 2023-11-28 10:49:58 -06:00
github-actions[bot]
5c063e2269 Bump version to 19.1.7 2023-11-28 16:19:57 +00:00
J. Nick Koston
07499907d4
Refactor execute_service to avoid creating dict in the inner loop (#776) 2023-11-28 10:19:39 -06:00
github-actions[bot]
e8560c1547 Bump version to 19.1.6 2023-11-28 14:54:08 +00:00
J. Nick Koston
22fd2ab9af
Refactor list_entities_services to reduce unneeded local variables (#775) 2023-11-28 08:53:47 -06:00
J. Nick Koston
d0aaf25577
Use explict type checks for protobuf messages (#774) 2023-11-28 08:33:06 -06:00
J. Nick Koston
7c7bdfc585
Small refactor to GATT read to reduce code (#773) 2023-11-28 08:28:00 -06:00
J. Nick Koston
5ba404df48
Refactor bluetooth message handling to extract on_bluetooth_message (#772) 2023-11-28 08:23:19 -06:00
J. Nick Koston
5e0b6c1b07
Refactor bluetooth GATT writes to reduce duplicate code (#771) 2023-11-28 08:16:53 -06:00
J. Nick Koston
15e6279246
Allow specifying a timeout for bluetooth_gatt_start_notify (#770) 2023-11-28 08:07:33 -06:00
J. Nick Koston
844326a3a2
Remove unused variable from frame helper base (#769) 2023-11-28 08:05:45 -06:00
J. Nick Koston
176c7bc4b4
Raise BluetoothConnectionDroppedError if connection drops while getting GATT services (#768) 2023-11-28 08:03:08 -06:00
J. Nick Koston
e182f68b42
Raise BluetoothConnectionDroppedError if connection drops during GATT read/write/notify (#767) 2023-11-28 07:42:21 -06:00
J. Nick Koston
3e920df478
Handle Bluetooth connection drops in more places (#766) 2023-11-28 07:23:21 -06:00
github-actions[bot]
72a8f70bcd Bump version to 19.1.5 2023-11-28 12:44:40 +00:00
J. Nick Koston
29faf6746f
Simplify similar code for building entity commands (#765) 2023-11-28 06:44:24 -06:00
github-actions[bot]
681fec9db9 Bump version to 19.1.4 2023-11-28 05:51:55 +00:00
J. Nick Koston
1b51530642
Reduce duplicate code between connection and frame helper (#763) 2023-11-27 23:51:38 -06:00
github-actions[bot]
5fb9c9243b Bump version to 19.1.3 2023-11-28 00:39:37 +00:00
J. Nick Koston
ab5834ca0d
Fix not backing off when connection requires encryption (#762) 2023-11-27 18:39:22 -06:00
J. Nick Koston
31c6e4abc6
Add test for legacy UserService type_ conversion (#761) 2023-11-27 08:46:36 -06:00
J. Nick Koston
f6eff1a205
Add coverage for GATT services from dict (#760) 2023-11-27 08:43:51 -06:00
J. Nick Koston
60e193e4df
Add test for legacy bluetooth data (#759) 2023-11-27 08:24:23 -06:00
github-actions[bot]
e961e4efca Bump version to 19.1.2 2023-11-27 14:22:09 +00:00
J. Nick Koston
b73270c0bd
Fix discover cli tool when address is missing from mdns (#758) 2023-11-27 08:21:51 -06:00
J. Nick Koston
86726e9079
Add test to ensure log runner reconnects on subscribe failure (#757) 2023-11-26 18:25:29 -06:00
J. Nick Koston
e93ee7f313
Add coverage for legacy empty BLE advertisements (#756) 2023-11-26 18:00:15 -06:00
J. Nick Koston
3a4ea30adb
Fix missing asserts in legacy bluetooth and light compat tests (#755) 2023-11-26 17:59:25 -06:00
J. Nick Koston
b3972ea070
Improve coverage for legacy ble advertisements (#754) 2023-11-26 17:57:02 -06:00
J. Nick Koston
b84a07cd0c
Fix voice assistant start task getting prematurely garbage collected (#753) 2023-11-26 17:54:18 -06:00
J. Nick Koston
91b0f1abba
Add coverage for legacy color mode compat (#752) 2023-11-26 17:42:11 -06:00
J. Nick Koston
c53aeff924
Add coverage to ensure log runner reconnects on disconnect (#751) 2023-11-26 17:34:23 -06:00
J. Nick Koston
c98eaa1250
Add coverage to verify subscribe_voice_assistant cancels tasks on unsub (#750) 2023-11-26 17:32:53 -06:00
J. Nick Koston
ca7d403a78
Add coverage for trying to use the client while still handshaking (#749) 2023-11-26 17:23:17 -06:00
J. Nick Koston
a8e2e6828b
Add coverage to ensure pairing ignores responses from the wrong device (#748) 2023-11-26 17:17:22 -06:00
J. Nick Koston
98c6e6a2ae
Add coverage for client api_version being None after disconnected (#747) 2023-11-26 17:14:41 -06:00
J. Nick Koston
3ff5f876d5
Add coverage for BLE connection drop during pairing (#746) 2023-11-26 17:11:42 -06:00
J. Nick Koston
a148479679
Add coverage for unsubscribing from voice assistants (#745) 2023-11-26 17:07:48 -06:00
J. Nick Koston
1a4bdfbed8
Add coverage for subscribe_voice_assistant (#744) 2023-11-26 17:03:23 -06:00
J. Nick Koston
1a4c8bff17
Add test coverage for send_voice_assistant_event (#743) 2023-11-26 16:45:38 -06:00
J. Nick Koston
0fab7a6b99
Expand coverage for bluetooth GATT services (#742) 2023-11-26 16:34:28 -06:00
J. Nick Koston
f280efba8a
Ensure Bluetooth notifies can safely be cancelled after disconnect (#741) 2023-11-26 15:29:51 -06:00
J. Nick Koston
150ce726da
Fix races in bluetooth device connect (#740) 2023-11-26 15:21:54 -06:00
J. Nick Koston
108074a2dc
Add coverage for send_home_assistant_state (#739) 2023-11-26 14:16:08 -06:00