Commit Graph

35 Commits

Author SHA1 Message Date
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
J. Nick Koston
b7449d4ded
Split connection process to enable faster reconnects (#576) 2023-10-14 16:03:12 -10:00
Graham Brown
a79da42aaf
Add support for alarm_control_panel entities (#427) 2023-06-12 10:39:49 +12:00
J. Nick Koston
2886d361f0
Simplify connection flow with an asyncio.Protocol (#352) 2023-01-05 23:24:10 -05:00
J. Nick Koston
de5cdfa230
Callback messages to listeners by type (#328) 2022-12-02 09:36:58 -10:00
Jesse Hills
fcd529bb32
Add media player entities (#214) 2022-05-18 13:28:40 +12:00
Keilin Bickar
d0d1e526f5
Add lock entity (#158) 2022-01-11 14:29:19 +13:00
Otto Winter
f3aaf0391d
Remove eventloop parameter (#110) 2021-10-13 10:15:30 +02:00
Otto Winter
f90ffcf3b8
Also run black/isort on tests (#82) 2021-07-29 16:09:16 +02:00
Jesse Hills
551a1acd0d
Add select entities (#75) 2021-07-27 06:51:12 +12:00
Otto Winter
3a7a47f649
Add pytest unit testing (#64) 2021-07-12 20:09:17 +02:00