Commit Graph

39 Commits

Author SHA1 Message Date
J. Nick Koston
3692478455
Optimize throughput of api to decrease latency (#327) 2022-12-02 14:12:19 -05:00
J. Nick Koston
a452e738ff
Move message parsing out of the read loop (#323) 2022-12-01 11:42:15 +13:00
J. Nick Koston
ac303e8986
Fix connection subscription leak on cancelation (#316) 2022-11-28 23:06:06 +13:00
Jesse Hills
356e4fbd8f
Catch error when task is stopped (#306) 2022-11-15 20:26:11 +13:00
J. Nick Koston
dbfff4397e
Fix BLE writes timing out (#298) 2022-11-07 08:32:32 +13:00
Jesse Hills
c7edc2e601
Raise GATT errors on read and write etc (#272)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-31 11:38:24 +13:00
Alex Yao
b550b294c7
Fix permanent disconnect issue (#273) 2022-10-24 07:11:16 -05:00
Jesse Hills
712f23d2b2
Fix process_task not ending correctly (#271)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-07 09:37:47 +13:00
J. Nick Koston
4a1715536f
Increase underlying socket receive buffer (#267) 2022-10-03 11:32:26 +13:00
Jesse Hills
2103a7467a
Process messages in a separate task loop (#263) 2022-09-30 10:59:40 +13:00
Jesse Hills
c5779b3e17
Change BLE advertisement data to bytes (#262) 2022-09-30 09:12:49 +13:00
Jesse Hills
6a82766553
Add Bluetooth GATT calls (#259) 2022-09-28 12:50:37 -04:00
J. Nick Koston
1ffe252f6f
Change out asyncio.wait_for with async_timeout (#243) 2022-08-22 15:26:53 +12:00
dependabot[bot]
6b6828043b
Bump mypy from 0.942 to 0.950 (#204)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-05-18 15:39:03 +12:00
Otto Winter
3752b8280e
Fix no timeout for handshake (#176) 2022-02-09 16:29:50 +01:00
Otto Winter
9964034f18
Expect a name for connections (#122)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-01-20 12:03:36 +01:00
dependabot[bot]
014d81350a
Bump mypy from 0.910 to 0.930 (#156)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2022-01-08 13:57:56 +01:00
david reid
8fcb3a58dd
Catch conn reset (#159) 2022-01-05 08:30:22 +13:00
Otto Winter
3b8b2d9d66
Fix login error cleanup (#126) 2021-10-21 19:20:05 +02:00
Otto Winter
07d16dc1ab
Prevent showing password in error logs (#121) 2021-10-14 11:25:51 +02:00
Otto Winter
f3aaf0391d
Remove eventloop parameter (#110) 2021-10-13 10:15:30 +02:00
Otto Winter
9ca228cd1e
Refactor frame_helper into new module (#109) 2021-10-13 10:05:08 +02:00
Otto Winter
06806b4490
Fix wrapping native RequiresEncryption error types (#113) 2021-10-05 10:56:35 +02:00
Otto Winter
7a49609ef0
Fix write_packet error not re-raised (#112) 2021-10-04 12:30:03 +02:00
Otto Winter
5b99d5c1dd
Refactor connection class to resolve connect issues (#108) 2021-10-04 12:12:43 +02:00
Otto Winter
e18d4b61b6
Fix plaintext logs unexpected when handled (#107) 2021-10-01 11:25:20 +02:00
dependabot[bot]
4e573999c5
Bump pylint from 2.10.2 to 2.11.1 (#104)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-19 19:08:18 +02:00
Otto Winter
5c9e7acbce
Emit different Exception types to differentiate between connection errors (#102)
* Emit different Exception types to differentiate between connection errors

* Import in init
2021-09-14 12:44:52 +02:00
Otto Winter
015e9c8d5e
Add noise API transport support (#100) 2021-09-09 09:12:07 +12:00
Otto Winter
3a7a47f649
Add pytest unit testing (#64) 2021-07-12 20:09:17 +02:00
Otto Winter
ff10a20bce
Add reconnect logic class (#54) 2021-06-30 17:10:30 +02:00
Otto Winter
2629e8d86c
Update host_resolve for zeroconf 0.32.0 (#52) 2021-06-30 17:00:22 +02:00
Otto Winter
872c643058
Switch from attrs to dataclasses (#36) 2021-06-29 15:36:14 +02:00
Otto Winter
52cf01e11a
Add flake8, black, isort and mypy linting (#39) 2021-06-18 17:57:02 +02:00
J. Nick Koston
ff70932064
Ability to use the shared Home Assistant Zeroconf instance (#13) 2020-08-22 00:45:29 -03:00
Otto Winter
8bf95336d6
Add pylint 2020-07-14 20:00:12 +02:00
Guillermo Ruffino
511cb62dd9 Add climate feature fan (#4)
* f1

* renamed to fan_mode

* fixes, add back compat with ha

* revert client_version - add swing
2019-11-16 16:34:14 +01:00
Otto Winter
7ade99a614
New api.proto format, user-defined service arrays
See https://github.com/esphome/esphome/pull/633
2019-06-17 23:40:23 +02:00
Otto Winter
e74118923e
Big Refactor 2019-04-07 19:03:26 +02:00