Commit Graph

73 Commits (f18056f0a4edc340d1cab380dbc602fc4606078a)

Author SHA1 Message Date
epenet c01b1eb013
Adjust async_track_time_interval name argument (#90838)
Adjust async_track_time_interval naming
2023-04-05 10:58:02 -04:00
J. Nick Koston 02ef7d445d
Allow passing an optional name to async_track_time_interval (#90244)
* Allow passing an optional name to async_track_time_interval

This is the same idea as passing a name to asyncio.create_task which
makes it easier to track down bugs

* more

* short

* still cannot find it

* add a few more

* test
2023-03-25 10:11:14 -04:00
Jc2k f5a05c1bd2
Support HomeKit Controller Thread Provisioning (#87809) 2023-02-15 16:41:07 +00:00
Jc2k d829a2045a
Fix incorrect unique_id for BLE HomeKit devices (#87550) 2023-02-07 19:10:51 -06:00
Franck Nijhof ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
Franck Nijhof cb13418bab
String formatting and max line length - Part 2 (#84393) 2022-12-22 11:38:59 +01:00
J. Nick Koston 1577f6ea50
Restore HomeKit Controller BLE GSN at startup (#83206) 2022-12-04 07:01:37 -10:00
J. Nick Koston 248b93f112
Update aiohomekit to 2.3.0 (#82164) 2022-11-15 20:38:31 -06:00
J. Nick Koston 1ded3ac51e
Poll HomeKit Controller locks for state after lock operation (#82058) 2022-11-14 10:54:28 -06:00
J. Nick Koston 5621dfe419
Small cleanups for HomeKit Controller (#81933) 2022-11-10 17:07:30 -06:00
J. Nick Koston a7610909de
Fix HKC exceptions during BLE startup not being caught (#80882) 2022-10-24 09:29:13 -05:00
J. Nick Koston 3c40634fbb
Try again to populate HKC BLE accessory state after startup (#80854) 2022-10-23 18:04:42 -05:00
J. Nick Koston 3df73259dd
Prevent HomeKit Controller BLE connect retries from blocking startup (#80827) 2022-10-23 13:41:32 -05:00
J. Nick Koston f23b1750e8
Migrate HomeKit Controller to use stable identifiers (#80064) 2022-10-11 11:26:03 -10:00
J. Nick Koston 92612c9fe3
Add RSSI sensor to HomeKit Controller (#78906) 2022-09-25 21:31:56 -04:00
J. Nick Koston cd8a5ea1e2
Fix reconnect race in HomeKit Controller (#78629) 2022-09-17 05:13:33 -05:00
Jc2k eb0828efdb
Dont rely on config flow to monitor homekit_controller c# changes (#76861) 2022-08-20 10:58:59 -10:00
J. Nick Koston a8bb00f305
Fix availability in HKC for sleeping bluetooth devices (#75357) 2022-07-17 17:45:04 -05:00
J. Nick Koston b9c8d65940
Restore accessory state into pairing using new HKC methods (#75276) 2022-07-16 12:49:15 -05:00
J. Nick Koston 2106c9f247
Fix delay adding entities in HKC (#75273) 2022-07-15 11:21:09 -05:00
J. Nick Koston 89985b93fb
Avoid loading platforms in HKC if we are going to raise ConfigEntryNotReady (#75177) 2022-07-14 10:17:16 -05:00
J. Nick Koston a31dde9cb4
Await startup in homekit controller (#75021) 2022-07-14 07:44:27 -05:00
Franck Nijhof c8f700c803
Clean up accessing dispatcher helpers via hass (#72014)
Clean up accessing ditpatcher helpers via hass
2022-05-17 18:41:36 +02:00
Jc2k 65ce2108d3
Stop homekit_controller using backend specific API's (#66375) 2022-02-12 08:12:27 -06:00
Jc2k 714a952d73
Enable types from aiohomekit to be used by mypy for homekit_controller (#65433) 2022-02-03 10:18:03 -06:00
Jc2k 9f5d77e0df
Add missing type hints to homekit_controller (#65368) 2022-02-01 13:30:37 -06:00
Jc2k 2a193e1016
Refactor platform loading in homekit_controller (#65338) 2022-02-01 07:38:42 +00:00
Jc2k 0f88790303
Refactor homekit_controller to prepare for more typing information (#65329) 2022-01-31 16:48:16 -06:00
Jc2k eb94fe1ca7
Use upstream constants when defining homekit service to platform mapping (#65272) 2022-01-30 16:59:01 -06:00
Jc2k cc94af2872
Remove deprecated helper functions from homekit_controller pairing flow (#65270) 2022-01-30 16:20:19 -06:00
Jc2k 4a0a4624ff
Allow homekit_controller to handle device registry entries for devices with poor serial numbers (#64749) 2022-01-23 13:00:05 -10:00
Jc2k f71e053947
De-duplicate generation of DeviceInfo data in homekit_controller (#64751) 2022-01-23 11:57:16 -10:00
Jc2k f0fdd7d650
Finish deduplicating homekit_controller enumeration tests (#64306) 2022-01-17 10:44:59 -10:00
J. Nick Koston 11fde22d45
Add hardware version support to homekit controller (#61743) 2021-12-16 05:24:18 -06:00
J. Nick Koston 061b1abd1b
Improve handling of invalid serial numbers in HomeKit Controller (#58723)
Fixes #58719
2021-10-29 17:57:01 -07:00
J. Nick Koston 5581f58aad
Handle accessories without a serial number in homekit_controller (#58498) 2021-10-27 06:24:57 -05:00
epenet 51a10f88de
Use DeviceInfo on components with via_device (#58222)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 17:04:25 +02:00
J. Nick Koston 98535c9e6c
Set homekit controller available state at startup (#51013) 2021-05-25 11:47:28 -05:00
J. Nick Koston 3cef96e78a
Update aiohomekit to subscribe more like iOS (#50997) 2021-05-23 13:39:22 -05:00
J. Nick Koston 42d1ec753d
Small tweaks to improve homekit_controller startup time (#50590) 2021-05-13 20:16:20 -05:00
J. Nick Koston a1fdf84dba
Reduce config entry setup/unload boilerplate G-J (#49737) 2021-04-27 16:09:59 +02:00
Jc2k 3b0a440770
Add support for homekit_controller secondary entities like power usage (#44013) 2021-01-26 13:45:01 -06:00
Jc2k 3e1f2a5103
Refactor how entities are created for homekit_controller services (#43242) 2020-11-16 23:11:39 +00:00
Jc2k cc396b9736
Add initial camera support to homekit_controller (#43100) 2020-11-14 12:07:22 +00:00
Jc2k 988a467afd
Device automation triggers for stateless HomeKit accessories (#39090)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-11 13:34:07 -05:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Jc2k 96a1c80626
Pre-create homekit_controller device registry entries when processing entity map (#39036) 2020-08-20 19:12:36 +01:00
Franck Nijhof 53545c984b
Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
Jc2k 6e3bba07da
Bump aiohomekit (#36041) 2020-05-23 19:59:32 +02:00
Jc2k ffe8b94d75
Simplfy homekit_controller characteristic writes (#32683) 2020-03-11 09:27:20 -07:00