Commit Graph

690 Commits (0e3945ca6c4c28c7c20901141f44ee83eb3a54c7)

Author SHA1 Message Date
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
J. Nick Koston ea4143154b
Handle unknown state in HomeKit (#107039) 2024-01-08 09:42:28 +01:00
Ville Skyttä 24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080)
* Disable Ruff rules that may conflict with the formatter

* Upgrade Ruff to 0.1.8

- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8

* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Aarni Koskela 706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
J. Nick Koston 371a49d2f4
Bump HAP-python 4.9.1 (#102811) 2023-10-25 15:55:28 -05:00
J. Nick Koston 3cfcffc6f2
Bump fnv-hash-fast to 0.5.0 (#102271) 2023-10-20 16:49:40 +02:00
J. Nick Koston 327bdce561
Handle ATTR_HS_COLOR being None in HomeKit (#102290) 2023-10-18 22:42:39 -10:00
J. Nick Koston 10fd26df4b
Preserve HomeKit Accessory ID when entity unique id changes (#102123) 2023-10-16 21:42:02 -10:00
J. Nick Koston d237ab6d67
Bump HAP-python to 4.9.0 (#102055) 2023-10-15 06:49:59 -10:00
J. Nick Koston 5ed8de8348
Enable strict typing in HomeKit (#101968) 2023-10-13 14:45:59 -10:00
J. Nick Koston 0e499e07d2
Small cleanups to HomeKit thermostats (#101962) 2023-10-13 14:24:23 -10:00
J. Nick Koston f8f39a29de
Update HomeKit humidifiers to handle current humidity (#101964) 2023-10-13 14:23:50 -10:00
J. Nick Koston 8fd5d89d43
Avoid polling state machine for available state in HomeKit (#101799) 2023-10-13 14:23:15 -10:00
J. Nick Koston 76e2afbce9
Add some more typing to HomeKit (#101959) 2023-10-13 14:03:01 -10:00
J. Nick Koston cc3d1a11bd
Add more typing to HomeKit (#101896) 2023-10-12 08:43:53 -10:00
J. Nick Koston 39fd5897cb
Small typing cleanups for HomeKit (#101790) 2023-10-11 08:11:58 +02:00
J. Nick Koston 265f6653c3
Refactor homekit to use a dataclass for entry data (#101738) 2023-10-10 21:14:37 +02:00
J. Nick Koston 7b4b8e7516
Refactor HomeKit to allow supported features/device class to change (#101719) 2023-10-10 06:20:25 -10:00
J. Nick Koston f166e1cc1a
Map switch device class outlet to Outlets in homekit (#101760) 2023-10-10 05:55:42 -10:00
J. Nick Koston 8dffff3983
Bump HAP-python to 4.8.0 (#101538) 2023-10-06 17:06:18 +02:00
J. Nick Koston 7d07694496
Fix HomeKit handling of unavailable state (#101021) 2023-09-27 23:34:25 +02:00
J. Nick Koston 4c255677c3
Add support for receivers to HomeKit (#100717) 2023-09-25 09:36:01 -05:00
J. Nick Koston c1b9400833
Provide a better model for HomeKit service entries (#100848) 2023-09-25 09:34:53 -05:00
Yuxiang Zhu 739eb28b90
Make homekit RTP/RTCP source ports more deterministic (#99989) 2023-09-10 09:07:35 -05:00
J. Nick Koston e22b03d6b3
Switch homekit config flow sorted to use itemgetter (#99658)
Avoids unnecessary lambda
2023-09-05 21:18:46 -04:00
J. Nick Koston 6992ea9af0
Bump fnv-hash-fast to 0.4.1 (#99135) 2023-08-27 10:08:21 -05:00
J. Nick Koston 5ce8e0e33e
Bump HAP-python to 4.7.1 (#97545) 2023-08-01 09:49:20 +02:00
J. Nick Koston 5cc72814c9
Bump fnv-hash-fast to 0.4.0 (#97160) 2023-07-24 20:34:46 +02:00
Marc Mueller 995c29e052
Cleanup EventType typing (#97136) 2023-07-24 13:18:38 +02:00
Marc Mueller 5b73bd2f8e
Use EventType for state changed [h-m] (#97117) 2023-07-24 08:01:50 +02:00
Joost Lekkerkerker b367c95c81
Add more common translations (#96429)
* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations
2023-07-12 22:00:05 -04:00
Franck Nijhof 7bc90297d2
Migrate integration services (G-H) to support translations (#96372) 2023-07-12 12:31:26 +02:00
J. Nick Koston e3e1bef376
Fix manual specification of multiple advertise_ip with HomeKit (#95548)
fixes #95508
2023-06-29 11:35:32 -04:00
Franck Nijhof 3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
J. Nick Koston ef2e55ecec
Add dual IP stack support to HomeKit (#94126)
* Add dual IP stack support to HomeKit

* fix tests

* Update homeassistant/components/network/__init__.py

* remove scopes

* Bump HAP-python to 4.7.0

fixes pairing with newer iOS

changelog: https://github.com/ikalchev/HAP-python/compare/v4.6.0...4.7.0

* fixes

* update tests

* Relocate get_announced_addresses from zeroconf to network

needed for #94126

* rename

* rename

* Update homeassistant/components/network/__init__.py

* Update homeassistant/components/network/__init__.py

* rename

* fix import

* coverage
2023-06-24 23:18:38 -04:00
Erik Montnemery f10256169b
Teach homekit about entity registry ids in device triggers (#95009) 2023-06-21 23:28:43 +02:00
J. Nick Koston b857dc8d94
Bump HAP-python to 4.7.0 (#94812) 2023-06-20 23:06:26 +02:00
Franck Nijhof a419c78524
Rename HomeKit to HomeKit Bridge (#91741) 2023-04-20 09:03:12 -04:00
J. Nick Koston b875706bdd
Default homekit to listening on all interfaces to match Home Assistant behavior (#91520) 2023-04-17 09:41:57 +02:00
Assaf Inbal 7446ff478f
Add h264_v4l2m2m codec and profiles to HomeKit cameras (#91246) 2023-04-12 10:46:21 -10:00