Commit Graph

729 Commits (47beddc6c6d3dc01de9544781c97fa5734bbc28b)

Author SHA1 Message Date
J. Nick Koston c8b0c939e4
Ensure event entities are allowed for linked homekit config via YAML (#123994) 2024-08-16 16:48:59 +02:00
J. Nick Koston 9b33d2f17e
Fix paste error in homekit climate update (#123943) 2024-08-14 11:00:11 -05:00
J. Nick Koston 17f0d9ce45
Map pre-heating and defrosting hvac actions in homekit (#123907)
closes #123864
2024-08-14 15:36:49 +02:00
J. Nick Koston ef2ddbf86d
Revert "Bump chacha20poly1305-reuseable to 0.13.2" (#123505) 2024-08-10 18:37:00 +02:00
yangqian 618efdb326
Bump chacha20poly1305-reuseable to 0.13.2 (#123471)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-08-09 11:25:53 -05:00
J. Nick Koston 7348a1fd0c
Convert homekit to use entry.runtime_data (#122533) 2024-07-25 11:06:55 +02:00
Franck Nijhof a9bf12f102
Rename Services to Actions in translation strings (#121777) 2024-07-15 21:19:25 +02:00
J. Nick Koston 2e71c8d43b
Fix homekit linked doorbell and motion firing on reload (#121818) 2024-07-12 16:29:55 +02:00
J. Nick Koston 6129a37bb0
Fix flakey homekit reload test (#121463) 2024-07-07 21:52:44 +02:00
Sarabveer Singh b3a62a97b4
Update HomeKit PM2.5 mappings based on new 2024 US EPA AQI (#109900) 2024-07-04 22:10:35 -05:00
J. Nick Koston 67a4c2c884
Add support for event entity motion sensors to HomeKit (#121123) 2024-07-04 04:50:50 -05:00
Marc Mueller ca55986057
Import Generator from collections.abc (1) (#120914) 2024-07-01 11:51:51 +02:00
Sander Peterse 2f5ec41fa6
Add valve domain to HomeKit (#115901)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-30 12:04:20 -05:00
J. Nick Koston 5280291f98
Add linked doorbell event support to HomeKit (#120834) 2024-06-29 18:43:20 -05:00
Marc Mueller fe21e2b8ba
Import Generator from typing_extensions (1) (#118986) 2024-06-06 17:02:13 +02:00
Fabrice d4acd86819
Make co/co2 threshold configurable via entity_config (#112978)
* make co/co2 threshold configurable via entity_config

* Split threshold into co/co2_threshold configuration
2024-05-24 13:28:19 +02:00
Marc Mueller bc2ee96cae
Remove quotes surrounding annotations (#117817) 2024-05-20 22:06:58 +02:00
Sid 2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
J. Nick Koston 46ec8a85b6
Pass the job type when setting up homekit state change listeners (#116038) 2024-04-23 21:31:08 +02:00
Sid c24ae01a43
Unignore Ruff E731 (#115564) 2024-04-14 00:15:10 -05:00
J. Nick Koston 1a8857aa2e
Migrate homekit ffmpeg task to use eager_start (#115543) 2024-04-13 16:29:55 -04: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 9cbed10372
Enable Ruff PYI041 (#115229) 2024-04-08 09:29:05 -10:00
Marc Mueller 3c5089bc3f
Update import for EventStateChangedData [a-h] (#114899) 2024-04-04 11:48:36 -10:00
J. Nick Koston 5be5c37326
Avoid linear search in homekit to find devices (#114808) 2024-04-04 11:39:16 +02:00
Sid 6587ee20db
Enable Ruff TRY300 (#114437)
* Enable Ruff TRY300

* Update validation.py

* Address review comments
2024-03-30 10:37:59 +01:00
Marc Mueller 63e28f958d
Use SignalType to improve typing [homekit] (#114297) 2024-03-27 18:05:01 +01:00
J. Nick Koston 3acb505456
Refactor homekit device linking to use the device index (#114145)
Now that we have an index of devices in the entity registry
we can avoid generating a lookup for devices we do
not care about
2024-03-25 08:28:56 -04:00
J. Nick Koston ada781025b
Avoid homekit random id generation for existing entries (#114144) 2024-03-25 11:28:26 +01:00
J. Nick Koston 9a863638f6
Avoid writing HomeKit state to disk unless its missing (#111970) 2024-03-21 09:19:55 -10:00
Sid 82a60fe8ad
Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
Sid d5fd005db8
Add ruff rule PIE808 (#113621) 2024-03-17 09:56:26 +01:00
J. Nick Koston 2f39187628
Shutdown homekit eagerly at the stop event (#113639) 2024-03-16 13:39:48 -10:00
Joost Lekkerkerker 761933acfe
Improve lists in integrations [G-H] (#113168) 2024-03-13 17:25:27 +01:00
J. Nick Koston 6e59d1cb29
Migrate homekit to use async_at_started (#113102) 2024-03-11 20:08:02 -04:00
Marc Mueller 8f1e2f1a7b
Replace EventType with Event [h-i] (#112740) 2024-03-08 19:35:47 +01:00
Marc Mueller 2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +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
Marc Mueller 8ca127df2a
Use KEY_HASS [h-z] (#112610) 2024-03-07 18:03:44 +01:00
J. Nick Koston 675b1a392b
Fix homekit creating executor jobs to resolve default listen ips (#112522) 2024-03-06 11:46:23 -10:00
Erik Montnemery e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
J. Nick Koston db9cda4fd2
Import homekit in the executor to avoid blocking the event loop (#111809)
`homekit import took 0.635 seconds (loaded_executor=False)`

not sure how I missed this one
2024-02-29 10:35:50 -05:00
Joost Lekkerkerker 515ca2b6f1
Add icon translations to Homekit (#111719) 2024-02-28 16:34:50 +01:00
J. Nick Koston 105a1ca127
Use eager_start for homekit task creation (#111675) 2024-02-27 12:44:01 -10:00
Marc Mueller 21ff8c8e03
Update pylint to 3.1.0 (#111392) 2024-02-25 08:01:20 -10:00
J. Nick Koston b3a8a75e75
Improve performance of filtering HomeKit entities (#111201)
Get the underlying filter with get_filter to avoid the wrapper
2024-02-23 13:42:01 -05:00
J. Nick Koston 136a31e4bc
Avoid creating tasks to run homekit accessories (#110895) 2024-02-19 10:36:54 +01:00
J. Nick Koston 206aaac700
Reduce complexity in the homekit config flow filters (#109850)
* Add typing to entity filters

* Add typing to entity filters

* Add typing to entity filters

* Add typing to entity filters

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks
2024-02-09 09:33:21 -05: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