Marc Mueller
fe21e2b8ba
Import Generator from typing_extensions (1) ( #118986 )
2024-06-06 17:02:13 +02:00
Marc Mueller
905adb2431
Update codespell ignore list ( #118018 )
2024-05-24 10:24:34 +02:00
Marc Mueller
dc47792ff2
Update codespell to 2.3.0 ( #118001 )
2024-05-24 08:22:29 +02:00
Marc Mueller
87bb7ced79
Use PEP 695 for simple type aliases ( #117633 )
2024-05-17 14:42:21 +02:00
J. Nick Koston
4138c7a0ef
Handle tilt position being None in HKC ( #117141 )
2024-05-10 00:47:13 -05:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
J. Nick Koston
657c9ec25b
Add a lock to homekit_controller platform loads ( #116539 )
2024-05-01 19:23:43 -05:00
J. Nick Koston
ca5ed274cb
Deprecate calling async_listen and async_listen_once with run_immediately ( #115169 )
2024-04-08 10:07:54 -10:00
Sid
8e98ba7312
Add first batch of Ruff PYI rules ( #115100 )
...
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-04-07 11:30:50 -10:00
Ashot Tonoyan
f2c091fe0c
Include serial number in HomeKit device info ( #114688 )
...
Very useful when adding a hub that has many identical devices already paired
2024-04-05 17:32:23 +02:00
Marc Mueller
816ce116bf
Remove unnecessary functools.cached_property backport ( #114239 )
2024-04-04 11:24:26 +02:00
J. Nick Koston
7a543af8ee
Simplify homekit_controller cache clear ( #114692 )
2024-04-02 21:45:08 -10:00
Marc Mueller
44eeb2eb5e
Allow Humidifier.current_humidity to be a float ( #111297 )
...
* Allow Humidifier.current_humidity to be a float
* Code review
* Allow climate humidity values to be float
* Update demo integration
2024-03-27 11:19:20 +01:00
J. Nick Koston
309fcb5c30
Eagerly shutdown homekit_controller at the stop event ( #113650 )
2024-03-16 17:15:46 -10:00
Sid
ccd2e989c3
Enable ruff RUF005 and fix occurrences ( #113589 )
2024-03-16 07:37:20 -10:00
Joost Lekkerkerker
761933acfe
Improve lists in integrations [G-H] ( #113168 )
2024-03-13 17:25:27 +01:00
J. Nick Koston
0f414d8ac5
Ensure HKC debounced availability poll does not block startup ( #113130 )
2024-03-12 07:43:59 -10:00
J. Nick Koston
281e3922a8
Reduce latency to populate initial HKC bluetooth device state ( #113103 )
2024-03-11 13:02:20 -10:00
J. Nick Koston
5b2a24b1bb
Fix race reloading homekit_controller ( #112790 )
...
If the subscribe task was still running during the reload we
would not cancel it. Make it a config entry task so it gets
cancelled at unload
2024-03-08 22:27:08 -05:00
Joost Lekkerkerker
bfd9199ad9
Remove entity description mixin in HomeKit Device ( #112775 )
2024-03-08 23:29:02 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] ( #112699 )
2024-03-08 08:52:48 -05:00
J. Nick Koston
c101eb5001
Fix homekit_controller delaying startup and shutdown ( #112671 )
...
The alive poll was scheduled as a tracked task but should have
been a background task so it was cancelled.
2024-03-07 23:37:22 -05:00
J. Nick Koston
38f9285bd6
Group platform loads in homekit_controller to minimize executor use ( #112148 )
2024-03-03 22:39:07 -10:00
J. Nick Koston
2fe12ade4c
Ensure all homekit_controller controllers are imported in advance ( #112079 )
...
* Ensure all homekit_controllers are imported in advance
We want to avoid importing them in the event loop later
* Ensure all homekit_controllers are imported in advance
We want to avoid importing them in the event loop later
2024-03-02 21:56:33 -05:00
Erik Montnemery
e06446d0fa
Migrate integrations e-h to generic flowhandler ( #111862 )
2024-02-29 20:07:36 +01:00
Joost Lekkerkerker
15cd9c011e
Add icon translations to Homekit Controller ( #111720 )
...
* Add icon translations to Homekit Controller
* Add icon translations to Homekit Controller
2024-02-28 16:31:09 +01:00
J. Nick Koston
c3412bb017
Make homekit_controller platform load tasks eagerly ( #111701 )
2024-02-27 21:46:42 -10:00
J. Nick Koston
e62b709dea
Reduce task overhead in homekit_controller ( #111670 )
2024-02-27 14:49:29 -10:00
Jc2k
cf849664ba
Cleanup BLE-only controls when migrating HomeKit BLE device to Thread ( #110334 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-27 12:02:27 -10:00
J. Nick Koston
290ffd14a4
Bump aiohomekit to 3.1.5 ( #111663 )
2024-02-27 10:13:14 -10:00
J. Nick Koston
4ea1c5cc3c
Add support for importing integrations in the executor ( #111336 )
...
* Add support for pre-imports at setup time
alternative solution to #111331
* refactor
* refactor
* refactor
* mark >1.0s integrations
* no point in executor if already loaded
* no point in executor if already loaded
* cleanup
* cleanup
* two more
* one more
* analytics loads a lot more integrations
* cloud
* debug
* psutil, hardwre
* try zha
* Update homeassistant/setup.py
* await
* comments
* coverage
* coverage
* coverage
* move logic to loader
* move logic to loader
* preserve comments
2024-02-26 14:49:43 -05:00
Jc2k
8fa347fb4c
Add Identify device class to homekit_controller ( #110878 )
2024-02-18 12:05:19 -06:00
Jc2k
4f404881dd
Remove homekit_controller entity registry entries when backing char or service is gone ( #109952 )
2024-02-09 07:05:08 +00:00
Jc2k
1ea9b1a158
Add support for air purifiers to HomeKit Device ( #109880 )
2024-02-07 15:19:42 +00:00
Marc Mueller
7a89e58873
Use builtin TimeoutError [e-i] ( #109679 )
2024-02-05 12:00:37 +01:00
Jc2k
0884215130
Bump aiohomekit to 3.1.4 ( #109414 )
2024-02-03 07:39:35 +01:00
G Johansson
3c15a2216d
Add migrated climate feature flags to homekit_controller ( #109433 )
2024-02-03 01:46:27 +01:00
G Johansson
066a0ccc6d
Add TURN_ON/OFF ClimateEntityFeature for HomeKit Device ( #109137 )
2024-01-30 08:57:41 -10:00
J. Nick Koston
82d21136bd
Do not try to cleanup invalid config entries without an AccessoryPairingID ( #108830 )
2024-01-24 22:49:27 -10:00
J. Nick Koston
7db8a52c23
Bump aiohomekit to 3.1.3 ( #107929 )
...
changelog: https://github.com/Jc2k/aiohomekit/compare/3.1.2...3.1.3
fixes maybe #97888
2024-01-13 18:27:52 +01:00
J. Nick Koston
0458bd68d9
Avoid duplicate search for existing config entries in homekit_controller ( #107613 )
2024-01-12 22:11:42 -10:00
J. Nick Koston
4b7a313ece
Use identity checks for CoreState ( #107846 )
...
Some of the checks used ==, and some used is. Switch
everything to is as its faster
2024-01-12 10:21:26 +01:00
Jan-Philipp Benecke
c62e79f9ee
Use right state class for kWh sensor in `homekit_controller` ( #107644 )
2024-01-09 16:06:18 +01:00
Marc Mueller
4ea8c174f5
Improve homekit_controller typing ( #107381 )
2024-01-06 11:02:30 -10:00
J. Nick Koston
2641e4014a
Add color temp support for older HomeKit devices ( #107206 )
2024-01-04 22:50:26 -10:00
J. Nick Koston
61eb613128
Bump aiohomekit to 3.1.2 ( #107177 )
2024-01-04 11:21:01 -10:00
J. Nick Koston
bc26377c16
Cache homekit_controller supported features ( #106702 )
2024-01-04 10:31:09 -10:00
J. Nick Koston
73b36086cf
Avoid tuple construction to check HKC available ( #106902 )
2024-01-02 20:41:54 +01:00
J. Nick Koston
7441962211
Bump aiohomekit to 3.1.1 ( #106591 )
2023-12-28 21:18:05 +01:00