Commit Graph

879 Commits

Author SHA1 Message Date
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
J. Nick Koston
f15acf1b1a
Reduce duplicate code for Bluetooth Advertisements (#738) 2023-11-26 14:08:05 -06:00
J. Nick Koston
67bd7efb29
Add test for GATT error while doing a read (#736) 2023-11-26 13:59:07 -06:00
J. Nick Koston
1a7ce50f63
Reduce mocking in client test to better simulate actual usage (#735) 2023-11-26 13:50:45 -06:00
J. Nick Koston
0d2f8f651d
Add coverage for bluetooth_proxy_feature_flags_compat (#734) 2023-11-26 13:33:30 -06:00
github-actions[bot]
ea23a18ab5 Bump version to 19.1.1 2023-11-26 19:26:09 +00:00
J. Nick Koston
cea62efbba
Small cython cleanps to the frame helpers (#733) 2023-11-26 13:25:55 -06:00
github-actions[bot]
1e9e61d670 Bump version to 19.1.0 2023-11-26 17:04:32 +00:00
J. Nick Koston
f230825651
Add discover cli tool (#732) 2023-11-26 11:04:17 -06:00
J. Nick Koston
6e08933a75
Fix race scheduling reconnect from zeroconf records (#731) 2023-11-26 10:32:16 -06:00
J. Nick Koston
c9091cbefc
Avoid closing the churning zeroconf instances in the host resolver (#730) 2023-11-26 10:12:29 -06:00
J. Nick Koston
aded2d28b5
Avoid churning zeroconf instances in the host resolver when created in the reconnect logic (#729) 2023-11-26 10:05:24 -06:00
J. Nick Koston
991214ef52
Fix name logic with reconnect logic when APIConnection address lacks local (#728) 2023-11-26 09:56:32 -06:00
J. Nick Koston
3a2a2f473c
Add test to ensure connect task aborts when stopped (#727) 2023-11-26 09:29:33 -06:00
J. Nick Koston
b3d4189b07
Fix reconnect logic cancelling the connection while handshaking (#726) 2023-11-26 09:14:42 -06:00
J. Nick Koston
68dfc868d9
Add coverage to ensure encryption error results in maximum backoff (#725) 2023-11-26 08:14:51 -06:00
J. Nick Koston
908545768b
Update pre-commit with newer tools (#724) 2023-11-26 08:09:52 -06:00
J. Nick Koston
7a7a99474e
Add coverage for reconnect logic downgrading logging level after first failure (#723) 2023-11-26 08:04:34 -06:00
J. Nick Koston
e8468647e2
Remove duplicate code in tests (#722) 2023-11-26 07:53:48 -06:00
github-actions[bot]
d19ae94a5e Bump version to 19.0.2 2023-11-25 20:41:45 +00:00
J. Nick Koston
32821752a5
Remove unused pylint disables (#720) 2023-11-25 14:41:27 -06:00
github-actions[bot]
65019664c3 Bump version to 19.0.1 2023-11-25 20:17:39 +00:00
J. Nick Koston
cd5ad769f0
Refactor reading varuints to significant simplify plaintext frame helper (#718) 2023-11-25 14:17:24 -06:00
J. Nick Koston
cf3ada3deb
Fix benchmarks from recent refactoring (#717) 2023-11-25 10:34:29 -06:00
J. Nick Koston
18401dd7ed
Add some additional cython types to the connection module (#716) 2023-11-25 10:30:17 -06:00
J. Nick Koston
4230871761
Cleanup protobuf object construction (#715) 2023-11-25 10:18:04 -06:00
J. Nick Koston
1360dd136a
Remove unused constants from connection module (#714) 2023-11-25 10:11:21 -06:00
J. Nick Koston
99380487a5
Add test for resolver timing out while connecting (#713) 2023-11-25 10:08:34 -06:00
J. Nick Koston
66e654084b
Add test for unexpected hello responses (#712) 2023-11-25 09:58:30 -06:00
J. Nick Koston
79686bf729
Fix client connection code swallowing unhandled exceptions as debug logging (#711) 2023-11-25 09:33:43 -06:00
J. Nick Koston
2f49f804e5
Remove unreachable socket buffering check code in connection (#710) 2023-11-25 09:06:28 -06:00
J. Nick Koston
b7e319b26a
Add test for connecting with a password (#709) 2023-11-25 08:59:36 -06:00
J. Nick Koston
d592f1e7ab
Reverse future done checks so we know they are actually reachable (#708) 2023-11-25 08:49:54 -06:00
J. Nick Koston
3711d54ffa
Add test for trying to finish an unstarted connection (#706) 2023-11-25 08:44:25 -06:00
J. Nick Koston
3abf9ff8d4
Make force_disconnect a normal function (#705) 2023-11-25 08:39:04 -06:00
J. Nick Koston
402d6fe113
Remove unreachable check in connection send_messages (#704) 2023-11-25 08:32:27 -06:00
J. Nick Koston
b67e19bd94
Add test for attempting to reuse an APIConnection object raises (#703) 2023-11-25 08:18:08 -06:00
J. Nick Koston
554190228e
Remove unreachable code in connection (#702) 2023-11-25 08:10:37 -06:00
J. Nick Koston
9edba66d30
Add test coverage for invalid protobuf messages (#701) 2023-11-25 08:10:26 -06:00
github-actions[bot]
cd8977e480 Bump version to 19.0.0 2023-11-25 13:52:03 +00:00
J. Nick Koston
67661dbd7f
Avoid expensive debug logging checks in packet processor (#700) 2023-11-25 07:51:48 -06:00
github-actions[bot]
0d25cc92a0 Bump version to 18.5.10 2023-11-25 13:11:51 +00:00
J. Nick Koston
e01f22d99a
Fix race in cleaning up connection (#698) 2023-11-25 07:11:34 -06:00
J. Nick Koston
c0a153c9f3
Speed up frame helpers (#696) 2023-11-24 12:40:33 -06:00
J. Nick Koston
065c8e715d
Fix signedness of server name check (#697) 2023-11-24 12:35:58 -06:00