J. Nick Koston
e1ddf270c5
Ensure connection is released if connecting is cancelled ( #784 )
2023-11-30 06:17:08 -10:00
Stefan Rado
87b7e831e8
Partially revert "Add humidity and aux heat support to climate ( #631 )" ( #783 )
2023-11-29 04:42:19 -06:00
Stefan Rado
0f14c82efa
Add humidity and aux heat support to climate ( #631 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-29 11:54:14 +13:00
J. Nick Koston
63d5928cba
Ensure calling the BLE connection unsubscribe multiple times does not raise ( #782 )
2023-11-28 15:39:04 -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
J. Nick Koston
ab5834ca0d
Fix not backing off when connection requires encryption ( #762 )
2023-11-27 18:39:22 -06:00
J. Nick Koston
60e193e4df
Add test for legacy bluetooth data ( #759 )
2023-11-27 08:24:23 -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
b3972ea070
Improve coverage for legacy ble advertisements ( #754 )
2023-11-26 17:57:02 -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
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
79686bf729
Fix client connection code swallowing unhandled exceptions as debug logging ( #711 )
2023-11-25 09:33:43 -06:00
J. Nick Koston
3abf9ff8d4
Make force_disconnect a normal function ( #705 )
2023-11-25 08:39:04 -06:00
J. Nick Koston
67661dbd7f
Avoid expensive debug logging checks in packet processor ( #700 )
2023-11-25 07:51:48 -06:00
J. Nick Koston
095ef822f1
Fix error in noise frame helper were we could write when the writer was unset ( #685 )
2023-11-24 09:42:56 -06:00
J. Nick Koston
a0cf5d0e90
Add coverage for subscribe_home_assistant_states ( #677 )
2023-11-23 11:37:25 -06:00
J. Nick Koston
0347302222
Add coverage for bluetooth connection free responses ( #673 )
2023-11-23 10:49:24 -06:00
J. Nick Koston
33966938f2
Add coverage for bluetooth advertising ( #670 )
2023-11-23 10:20:56 -06:00
J. Nick Koston
1cc6b3ed52
Fix missed GATT notify if the device responds immediately after subscribe ( #669 )
2023-11-23 09:46:56 -06:00
J. Nick Koston
cf2fd3c92a
Add test coverage for bluetooth GATT notify ( #668 )
2023-11-23 09:17:41 -06:00
J. Nick Koston
7a1fcc33bd
Add additional test coverage to the client module ( #662 )
2023-11-22 23:11:29 +01:00
J. Nick Koston
3fb5f322b5
Add coverage for fetching GATT services ( #658 )
2023-11-22 21:57:26 +01:00
J. Nick Koston
d8cace0b26
Reduce duplication in bluetooth gatt read code ( #657 )
2023-11-21 23:24:54 +01:00
J. Nick Koston
432a3e65b6
Add more missing command tests ( #656 )
2023-11-21 17:26:09 +01:00
J. Nick Koston
7dd0992f52
Add siren tests ( #655 )
2023-11-21 17:18:58 +01:00
J. Nick Koston
54452b4b94
Add button tests ( #654 )
2023-11-21 17:09:11 +01:00
J. Nick Koston
f88b15e33b
Fix eof_received
not raising SocketClosedAPIError ( #651 )
2023-11-21 14:56:31 +01:00
J. Nick Koston
298aa01b00
Small cleanups to connection ( #648 )
2023-11-21 13:08:48 +01:00
J. Nick Koston
b12903e2e7
Refactor zeroconf code to avoid creating instances when one is unneeded ( #643 )
2023-11-17 13:11:36 -06:00
J. Nick Koston
c1a0500ecb
Update some legacy python code to python 3.9 ( #635 )
2023-11-11 14:19:04 -06:00
J. Nick Koston
b227f79dad
Refactor bluetooth client functions to reduce duplicate code ( #629 )
2023-11-10 17:14:00 -06:00
J. Nick Koston
a15b96c76b
Send hello and login asynchronously to speed up connecting ( #628 )
2023-11-09 19:17:53 -06:00
J. Nick Koston
ef9f9bf136
Ensure an empty noise_psk or expected_name is treated as None ( #623 )
2023-11-08 18:00:28 -06:00
J. Nick Koston
7ac7742c91
Ensure passed params are always a str ( #622 )
2023-11-08 17:26:51 -06:00
Daniel Dunn
5a8c0d8e23
Updated fork of PR for Text input components ( #532 )
...
Co-authored-by: Maurits <maurits@vloop.nl>
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-25 15:35:04 +13:00
J. Nick Koston
b877a0ef8c
Fix imports in host resolver test ( #584 )
2023-10-15 13:22:12 -10:00