Commit Graph

179 Commits

Author SHA1 Message Date
J. Nick Koston
6cb9d057b3
Fix crash on Windows when debug logging is enabled (#937) 2024-08-29 11:17:24 -10:00
J. Nick Koston
a3d9b82096
Remove black from pre-commit (#935) 2024-08-29 11:08:13 -10:00
Jesse Hills
8ef99d6665
Dont call subscription callback when we want single state only (#930) 2024-08-26 16:49:47 +12:00
J. Nick Koston
bf15d8e1fb
Add support for creating eager tasks to reduce connect latency (#921) 2024-08-12 15:04:18 -05:00
Jesse Hills
79571d2b8a
Support asking device to check for updates (#914) 2024-08-05 14:30:13 +12:00
J. Nick Koston
fdd2437d98
fix duplicate test name test_valve_command (#909) 2024-07-24 16:43:57 -05:00
J. Nick Koston
647dd99e0d
remove name from test auto_spec to workaround py3.12.4 breaking changes (#890) 2024-06-20 21:48:45 -05:00
Jesse Hills
e41e9c923a
Update Entities (#882) 2024-06-11 16:29:13 +12:00
Jesse Hills
0eede84ead
Voice Assistant Timers (#878) 2024-05-28 10:32:36 +12:00
Mischa Siekmann
8778ad485c
Adding announcement flag to media player command (#871)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-15 10:05:18 +12:00
David Friedland
f1538a7ed0
Support for Event entity messages (#853)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-22 22:48:21 +12:00
Jesse Hills
b935707ceb
Add Datetime entities (#859) 2024-04-22 15:58:16 +12:00
J. Nick Koston
4cff8555d2
Remove zeroconf listener removal workaround (#860) 2024-04-17 16:18:36 -05:00
Keith Burzinski
0ed69bbb30
Add valve component (#852)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-17 13:45:33 +12:00
Jesse Hills
27a968df1b
Send/Receive Voice Assistant Audio Messages (#854)
Co-authored-by: Michael Hansen <mike@rhasspy.org>
2024-04-08 10:44:10 +12:00
Jesse Hills
7da8a353cd
Implement datetime time entity (#850) 2024-03-20 14:31:00 +13:00
J. Nick Koston
e4ab837111
Use loopback address in all tests (#841) 2024-03-10 10:02:14 -10:00
J. Nick Koston
eabc3d421f
Ensure all command and service calls raise when disconnected (#840) 2024-03-10 09:44:03 -10:00
RFDarter
f8ee918cdd
Implement Datetime date component (#824)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-03-07 14:23:16 +13:00
Jesse Hills
efa92b5cce
Add wake_word_phrase to VoiceAssistant request (#830) 2024-02-27 15:53:26 +13:00
J. Nick Koston
23a2f402fa
Convert functions that no longer await to be normal functions (#827) 2024-02-18 14:02:24 -06:00
J. Nick Koston
e2bbbf4da5
Avoid creating tasks for starting/finishing the connection (#826) 2024-02-16 20:47:26 -06:00
dependabot[bot]
d63f10d6e3
Bump black from 23.12.1 to 24.1.1 (#812)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-04 21:39:47 -06:00
J. Nick Koston
5b4bdb8716
Refactor tests for new pytest-asyncio (#820) 2024-02-04 21:30:19 -06:00
J. Nick Koston
e2365545f3
Make failure to increase the recv buffer size non-fatal (#802) 2023-12-19 10:00:06 -10:00
J. Nick Koston
cf83582ef1
Refactor raw Bluetooth advs subscriptions (#797) 2023-12-12 14:15:09 -10:00
J. Nick Koston
de1d08493d
Add support for passing multiple addresses to the client (#796) 2023-12-12 11:22:14 -10:00
J. Nick Koston
05ee53c16d
Add happy eyeballs support (RFC 8305) (#789) 2023-12-12 07:24:31 -10:00
Tucker Kern
5961535dda
Add support for fan preset modes (#616)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-05 16:34:57 -10:00
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
1b51530642
Reduce duplicate code between connection and frame helper (#763) 2023-11-27 23:51:38 -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
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
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
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