J. Nick Koston
67a4c2c884
Add support for event entity motion sensors to HomeKit ( #121123 )
2024-07-04 04:50:50 -05:00
J. Nick Koston
5280291f98
Add linked doorbell event support to HomeKit ( #120834 )
2024-06-29 18:43:20 -05:00
epenet
549f66fd6f
Move mock_async_zeroconf to decorator in homekit tests ( #119060 )
2024-06-07 12:30:02 +02:00
epenet
a5dc4cb1c7
Fix incorrect `zeroconf` type hint in tests ( #118465 )
...
* Fix incorrect `mock_async_zeroconf` type hint
* Adjust thread
* One more
* Fix mock_zeroconf also
* Adjust
* Adjust
2024-05-30 21:57:09 +02:00
epenet
c6e0e93680
Cleanup mock_get_source_ip from tests ( #118459 )
2024-05-30 09:37:01 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +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
0b9c9aff62
Add ruff rules PIE790, PIE794, PIE807, PIE810 ( #113617 )
2024-03-16 11:04:58 -10:00
J. Nick Koston
6e59d1cb29
Migrate homekit to use async_at_started ( #113102 )
2024-03-11 20:08:02 -04:00
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +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
J. Nick Koston
136a31e4bc
Avoid creating tasks to run homekit accessories ( #110895 )
2024-02-19 10:36:54 +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
10fd26df4b
Preserve HomeKit Accessory ID when entity unique id changes ( #102123 )
2023-10-16 21:42:02 -10: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
c1b9400833
Provide a better model for HomeKit service entries ( #100848 )
2023-09-25 09:34:53 -05:00
Erik Montnemery
07b19b3dd9
Adjust homekit tests which create devices ( #98193 )
2023-08-10 18:23:17 +02:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04: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
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
J. Nick Koston
b857dc8d94
Bump HAP-python to 4.7.0 ( #94812 )
2023-06-20 23:06:26 +02:00
J. Nick Koston
a0c023d5cb
Reduce overhead to lookup items in the entity and device registry ( #94568 )
2023-06-14 20:47:18 +02:00
Erik Montnemery
e3c16e634b
Allow exposing entities not in the entity registry to assistants ( #92363 )
2023-05-02 22:08:09 +02: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
J. Nick Koston
d442f2aedb
Add names to homekit tasks to better track startup problems ( #90802 )
...
* Add names to homekit tasks to better track startup problems
* fix test
2023-04-08 23:13:47 -04:00
epenet
ee78864b05
Adjust entity registry access in homekit tests ( #88959 )
2023-03-01 16:54:00 +01:00
epenet
03710e58b5
Add type hints to integration tests (part 9) ( #87983 )
2023-02-13 12:06:51 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
epenet
37a2040d7b
Add type hints to integration tests (h-i) ( #87703 )
2023-02-08 18:12:56 +01:00
J. Nick Koston
53c1c2eb56
Fix homekit bridge iid allocations ( #81613 )
...
fixes undefined
2022-11-08 11:15:16 +01:00
J. Nick Koston
3b33e0d832
Add support for restoring HomeKit IIDs ( #79913 )
2022-10-14 09:58:09 -10:00
J. Nick Koston
ec8901b9af
Improve robustness of linking homekit yaml to config entries ( #79386 )
2022-10-01 16:44:45 +02:00
Franck Nijhof
bfb47eb212
Final clean up of helpers accessed via hass ( #72032 )
...
* Final clean up of helpers accessed via hass
* Fix circular dep
* Fix import
2022-05-17 23:42:37 +03:00
J. Nick Koston
034ba7d3ff
Only read HomeKit service/chars from disk once ( #70354 )
2022-04-21 13:54:44 -07:00
Erik Montnemery
1c57e65cea
Exclude hidden entities from homekit ( #68552 )
2022-03-23 10:32:51 +01:00
J. Nick Koston
d53124910f
Add entity category support to HomeKit ( #64492 )
2022-01-19 21:48:50 -10:00
J. Nick Koston
945477a482
Fix KeyError during call to homekit.unpair ( #63627 )
2022-01-07 19:47:14 +01:00
J. Nick Koston
5c8271552a
Add hardware revision support to homekit ( #63336 )
2022-01-04 16:19:12 +01:00
Erik Montnemery
cb2c2d98c3
Remove unnecessary checks before calling os.makedirs ( #62576 )
2021-12-23 09:59:31 +01:00
Dave T
168fefad88
Use DeviceClass Enums in homekit ( #62218 )
2021-12-20 12:53:44 -06:00
J. Nick Koston
400aaeaa91
Ensure homekit setup messages run in event loop ( #60226 )
2021-11-23 11:40:20 -06:00
Erik Montnemery
49a27e12ad
Add support to entity registry for overriding device_class ( #59985 )
2021-11-22 08:38:06 -08:00
J. Nick Koston
347c4ea137
Bump zeroconf to 0.37.0 ( #59932 )
2021-11-18 20:23:20 -08:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
J. Nick Koston
438ca73aba
Complete removal of auto_start, zeroconf_default_interface, and safe_mode from HomeKit ( #58320 )
2021-10-24 11:46:35 +02:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
J. Nick Koston
0fc89780e9
Fix listener leak in HomeKit on reload ( #56143 )
...
* Fix listener leak in HomeKit on reload
* Fix mocking
2021-09-12 15:06:03 -07:00
J. Nick Koston
eff59e8b00
Use the same server name for all HomeKit bridges ( #55860 )
2021-09-11 19:00:26 -07:00
J. Nick Koston
195ee2a188
Avoid creating sockets in homekit port available tests ( #55668 )
...
* Avoid creating sockets in homekit port available tests
* prevent new bridge from being setup -- its too fast now that the executor job is gone and it revealed an unpatched setup
2021-09-03 17:15:28 -10:00