Commit Graph

60 Commits (352014fc957876182be5df055cff5c7647c3ff17)

Author SHA1 Message Date
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
Jc2k 2879081772
Implement source switching for homekit_controller televisions (#32526) 2020-03-06 15:47:40 +00:00
Jc2k d207c37c33
Address homekit_controller feedback on #32212 and #32213 (#32228) 2020-02-26 17:10:05 -08:00
Jc2k 853d6cda25
Make homekit_controller a local push integration (#32213) 2020-02-26 10:35:53 -08:00
Jc2k 92a47f14bb
homekit_controller test cleanups (#32212) 2020-02-26 09:44:04 -08:00
Jc2k df9363610c
Refactor homekit_controller to be fully asynchronous (#32111)
* Port homekit_controller to aiohomekit

* Remove succeed() test helper

* Remove fail() test helper
2020-02-24 10:55:33 +01:00
Christian Clauss df7d2b3aeb
Fix typos found by codespell (#31243)
* Fix typos found by codespell

* Fix typos found by codespell

* codespell: Furture  ==> Future

* Update test_config_flow.py

* Update __init__.py

* Spellcheck: successfull  ==> successful

* Codespell: unsuccesful  ==> unsuccessful

* Codespell: cant  ==> can't

* Codespell: firware ==> firmware

* Codespell: mimick  ==> mimic
2020-01-31 08:33:00 -08:00
Paulus Schoutsen e9e44dbd97
Fix callback and async (#31281)
* Fix callback and async

* Fix a return

* Fix test

* Fix mqtt tests

* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Ville Skyttä 5216477353
Be consistent with Home Assistant and Hass.io spelling (#30500)
* Be consistent with Home Assistant spelling

* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Jc2k 80701c8f2a Defer homekit_controller initial poll after all entities are created (#30355)
* Make sure first poll happens after sub-platforms are loaded and entities are created.

* Function dosn't need to return anything

* Don't forward entry if already forwarded it
2020-01-03 21:22:27 +01:00
springstan 3b5da9c44a Move imports to top for homekit_controller (#29564)
* Move imports to top for homekit_controller

* Fix IpPairing mock in two test files
2019-12-08 16:50:57 +00:00
Jc2k 2bd832cd7a Skip homekit_controller polls when system is overloaded and still trying to process the previous one (#25968)
* Skip async_update if there are signs of backpressure

* Black

* Only warn once

* Log on recovery

* Formatting fix
2019-08-17 21:14:46 -07:00
Jc2k 002f74c76b Update homekit_controller import style (#25940) 2019-08-14 09:14:15 -07:00
Jc2k 34cde21876 Fix for HomeKit controller state not updating after put (#25903) 2019-08-13 10:09:55 +02:00