Commit Graph

797 Commits (7228f63c4a0b47598a9a4d019c45e8417a0d9275)

Author SHA1 Message Date
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
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
J. Nick Koston f58af0d717
Bump aiohomekit to 3.1.0 (#105584) 2023-12-12 19:07:20 +01:00
J. Nick Koston ec1cde77f6
Add support for Happy Eyeballs to homekit_controller (#105454) 2023-12-12 07:54:33 -10:00
Frederik Gladhorn 41a235bb52
Improve HomeKit description of what the PIN looks like (#103170)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-08 00:06:30 +01:00
J. Nick Koston 3ebd029026
Bump aiohomekit to 3.0.9 (#103123) 2023-10-31 12:56:15 -05:00
J. Nick Koston f626f3bc1e
Bump aiohomekit to 3.0.8 (#102479) 2023-10-21 10:06:28 -10:00
J. Nick Koston a2c60d9015
Only callback when value or status changes for processing HKC events (#102370) 2023-10-20 12:46:18 -10:00
J. Nick Koston f51743f123
Bump aiohomekit to 3.0.7 (#102408) 2023-10-20 23:08:41 +02:00
J. Nick Koston 3014a651c3
Reduce overhead to write HomeKit Controller state (#102365) 2023-10-20 08:50:07 +02:00
J. Nick Koston b911f242dd
Use new lookup methods for homekit_controller (#102278) 2023-10-20 08:12:15 +02:00
J. Nick Koston 6baa8082d5
Bump aiohomekit to 3.0.6 (#102341) 2023-10-19 11:12:56 -10:00