Commit Graph

950 Commits

Author SHA1 Message Date
J. Nick Koston
af7e966e98
fix mocking 2023-12-12 10:31:06 -10:00
J. Nick Koston
ee41f045d0
fix mocking 2023-12-12 10:28:53 -10:00
J. Nick Koston
ddacc3e412
tweaks 2023-12-12 10:17:24 -10:00
J. Nick Koston
ba54643355
tweaks 2023-12-12 10:16:48 -10:00
J. Nick Koston
e762ec3e1e
tweaks 2023-12-12 10:16:03 -10:00
J. Nick Koston
44aee612a4
Add support for passing multiple addresses to the client
If we have multiple IP addresses for the ESPHome device, and
we do not know which one we should connect to, they should
be passed as `addresses` when creating the `APIClient`
2023-12-12 10:08:01 -10:00
dependabot[bot]
4668b1ff54
Bump pylint from 3.0.2 to 3.0.3 (#794)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 07:37:18 -10:00
dependabot[bot]
85f61aee23
Bump isort from 5.13.0 to 5.13.1 (#793)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 07:34:05 -10:00
github-actions[bot]
87f4f9fefb Bump version to 20.0.1 2023-12-12 17:34:03 +00:00
dependabot[bot]
c7626e8c76
Bump black from 23.11.0 to 23.12.0 (#795)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 07:33:44 -10:00
github-actions[bot]
1e8c618837 Bump version to 20.0.0 2023-12-12 17:24:53 +00:00
J. Nick Koston
05ee53c16d
Add happy eyeballs support (RFC 8305) (#789) 2023-12-12 07:24:31 -10:00
J. Nick Koston
280b9a7ab7
Bump chacha20poly1305-reuseable to >=0.12.0 (#792) 2023-12-11 19:09:52 -10:00
J. Nick Koston
81598d817b
Bump zeroconf to >=0.128.4,<1.0 (#791) 2023-12-11 19:07:03 -10:00
dependabot[bot]
3fc8e9c758
Bump isort from 5.12.0 to 5.13.0 (#790)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 09:24:48 -10:00
github-actions[bot]
165331bd41 Bump version to 19.3.1 2023-12-10 02:56:12 +00:00
dependabot[bot]
3875dd6b32
Bump actions/setup-python from 4 to 5 (#788)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-09 16:55:55 -10:00
github-actions[bot]
15136768d1 Bump version to 19.3.0 2023-12-06 02:35:13 +00: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
b22258cca7
Small speed up to writing outgoing packets (#785) 2023-12-04 15:59:33 -10:00
J. Nick Koston
ac17f722c1
Pin pytest-asyncio to <=0.21.1 to fix CI (#786) 2023-12-04 15:51:26 -10:00
github-actions[bot]
66f9341fe5 Bump version to 19.2.2 2023-11-30 16:17:27 +00:00
J. Nick Koston
e1ddf270c5
Ensure connection is released if connecting is cancelled (#784) 2023-11-30 06:17:08 -10:00
github-actions[bot]
7d92b7974d Bump version to 19.2.1 2023-11-29 10:42:39 +00:00
Stefan Rado
87b7e831e8
Partially revert "Add humidity and aux heat support to climate (#631)" (#783) 2023-11-29 04:42:19 -06:00
github-actions[bot]
d58c735863 Bump version to 19.2.0 2023-11-28 22:54:31 +00: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
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