J. Nick Koston
3191fef8d6
Update the ip/port in the homekit_controller config entry when it changes ( #52554 )
2021-07-05 15:16:49 -05:00
J. Nick Koston
63c727ac6c
Update homekit_controller to use async zeroconf ( #52330 )
2021-06-30 18:09:19 +02:00
J. Nick Koston
9f22509a4b
Recover fast when homekit_controller sees a zeroconf announcment for a device that is offline ( #51038 )
2021-05-25 11:47:45 -05:00
J. Nick Koston
4b0b0f5db7
Allow user to override insecure setup codes and pair with homekit_controller ( #50986 )
...
* Allow user to override invalid setup codes and pair with homekit_controller
* adjust from manual testing
* invalid -> insecure
2021-05-23 10:15:38 -05:00
Franck Nijhof
10d6dfd4ae
Clean up connection classes in integrations H-L ( #49891 )
2021-04-30 21:02:53 -10:00
Franck Nijhof
e1a3ef3d69
Clean up config entry handlers decorator from config flows ( #49932 )
2021-04-30 23:28:25 +02:00
J. Nick Koston
b86bba246a
Downgrade logger message about homekit id missing ( #49079 )
...
This can happen if the TXT record is received after the PTR record and
should not generate a warning since it will get processed later
2021-04-11 10:36:26 -10:00
J. Nick Koston
7a447c4209
Exclude homekit accessories created by the homekit integration from homekit_controller ( #48201 )
2021-03-21 22:18:24 -07:00
Franck Nijhof
bc1daf1802
None optional hass typing in FlowHandler ( #46462 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Fuzzy
2fdf32bf1b
Add T8400 to ignore list ( #44017 )
2020-12-08 20:10:50 +00:00
Jc2k
6ce45e39d1
Hide HomeKit devices from discovery that are known to be problematic ( #44014 )
2020-12-07 13:51:35 +01:00
J. Nick Koston
46f9c0fb8a
Update phrasing and pin validation for homekit_controller ( #40006 )
2020-09-13 15:26:04 -05:00
J. Nick Koston
36ce8ba79e
Ensure homekit_controller traps exceptions from find_ip_by_device_id ( #40030 )
2020-09-13 21:55:49 +02:00
J. Nick Koston
84578f515d
Suppress homekit bridge discovery by homekit controller ( #39990 )
2020-09-13 09:12:10 -05:00
J. Nick Koston
483d09b9c1
Adjust homekit controller pairing to have a new step for each potentially recoverable error ( #38742 )
...
* Adjust homekit controller pairing errors back to a single step
* adjust test
* Revert "Adjust homekit controller pairing errors back to a single step"
This reverts commit e5ed89bbbb
.
* Revert "adjust test"
This reverts commit c2e9f21a8401c144315260f6fdf71ea8060f8ca3.
* adjust
* prune
* prune
* merge
* Update tests
* remove debug
* adjust
* Multiple steps
* adjust the test
2020-08-14 10:34:52 -05:00
J. Nick Koston
9bb7b3b125
Fix homekit_controller pairing retry when the first attempt is busy ( #38605 )
...
* Fix homekit_controller pairing retry
If the device was busy on the first pairing attempt, it
was not possible to retry.
* always restart pairing on recoverable execptions
* move code
* malformed pin is safe to restart
* make busy_error an abort
* switch max retries, simplify tests
* try pairing later
* try pairing later
* merge
* s/tlv_error/protocol_error/g
* Adjust wording
2020-08-09 22:17:13 -05:00
J. Nick Koston
52939865fa
Use the shared zeroconf instance for homekit_controller ( #37691 )
...
* Use the shared zeroconf instance for homekit_controller
* bump version
* Update for upstream changes. Thank you @Jc2k !
* naming
* bump version
* empty commit to reset CI as re-run is not working
2020-07-10 12:18:53 -10:00
Jc2k
1b4851f2e0
Remove deprecated homekit_controller credential storage locations ( #34333 )
...
* Remove deprecated homekit_controller credential storage locations
* async_import_legacy_pairing can also be removed
2020-04-20 07:32:30 -04:00
springstan
157f972d72
Use f-strings in integrations starting with "H" - "L" ( #32265 )
...
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
2020-02-28 12:39:29 +01:00
Jc2k
853d6cda25
Make homekit_controller a local push integration ( #32213 )
2020-02-26 10:35:53 -08:00
Jc2k
c9d78aa78c
Refactor homekit_controller config flow tests ( #32141 )
...
* Config flow test refactor
* Add a service and characteristic to the accessory so its more realistic
* Feedback from review
* Missing apostrophe
2020-02-25 12:06:35 +01: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
Paulus Schoutsen
e019280d94
Annotate more async functions correctly ( #31802 )
2020-02-14 10:00:22 -08:00
Franck Nijhof
0173c61fee
Spelling: Config(uration) ( #31782 )
2020-02-13 08:27:00 -08:00
Jc2k
8a22a38353
Accept homekit_controller pairing codes both with and without dashes ( #30273 )
...
* Handle MalformedPinError from homekit_python
* Handle both formats of pin codes
2019-12-30 07:36:01 +00:00
Jc2k
b41480ae46
Add a config entry mechanism to rediscover a discovery that was ignored ( #30099 )
...
* Mechanism to rediscover a discovery that was ignored
* Add core config entry tests for new rediscover step
* Add tests for homekit_controller implementation of async_step_rediscover
* Rename rediscover to unignore
* Comment the new ignore/unignore mechanisms
2019-12-21 11:22:07 +01:00
Jc2k
c3144eddbb
Set unique id on homekit_controller config entries ( #30035 )
...
* Set unique id on config entries
* Changes from review
2019-12-19 09:45:22 +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
Ville Skyttä
761d7f21e9
Upgrade pylint ( #27279 )
...
* Upgrade pylint to 2.4.2 and astroid to 2.3.1
https://pylint.readthedocs.io/en/latest/whatsnew/2.4.html
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-1
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-2
* unnecessary-comprehension fixes
* invalid-name fixes
* self-assigning-variable fixes
* Re-enable not-an-iterable
* used-before-assignment fix
* invalid-overridden-method fixes
* undefined-variable __class__ workarounds
https://github.com/PyCQA/pylint/issues/3090
* no-member false positive disabling
* Remove some no longer needed disables
* using-constant-test fix
* Disable import-outside-toplevel for now
* Disable some apparent no-value-for-parameter false positives
* invalid-overridden-method false positive disables
https://github.com/PyCQA/pylint/issues/3150
* Fix unintentional Entity.force_update override in AfterShipSensor
2019-10-07 08:17:39 -07:00
Jc2k
002f74c76b
Update homekit_controller import style ( #25940 )
2019-08-14 09:14:15 -07:00
Ville Skyttä
a54ade1189
Spelling fixes ( #25666 )
2019-08-02 23:20:06 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
0dc0706eb2
Add more HomeKit models for discovery ( #24391 )
...
* Add more HomeKit models for discovery
* Discover Tradfri with HomeKit
* Add Wemo device info
* Allow full match for HomeKit model
* Fix tests
2019-06-07 22:59:51 -07:00
Paulus Schoutsen
70fe4f22db
Log HomeKit model ( #24229 )
2019-05-31 22:59:16 -07:00
Jc2k
9303a56d8f
Fix duplicated discovered homekit devices ( #24178 )
2019-05-29 15:49:59 -07:00
Robert Svensson
42ee8eef50
Move Homekit controller component to user zeroconf discovery ( #24042 )
2019-05-29 11:20:04 -07:00
Jc2k
692eeb3687
Fix ecobee 3 homekit pairing ( #23882 )
2019-05-16 14:32:13 +02:00
Jc2k
b8cbd39985
HomeKit Controller: Adopt config entries for pairing with homekit accessories ( #23825 )
...
* Fix user initiated pairing + show more user friendly name
* Add lock around async_refresh_entity_map
* Migrate homekit_controller to config entries.
* Improve docstring
Co-Authored-By: Martin Hjelmare <marhje52@kth.se>
* Add dummy async_setup_platform
* add_service -> async_add_service
* Add missing returns
* Enable coverage checks for homekit_controller
2019-05-12 23:56:05 -07:00
Jc2k
7ff77936ad
Add and improve Homekit controller pairing messages and errors ( #23532 )
...
* Be clear about pairing code format
* Handle more homekit errors while pairing
* Update en translation
* Fix log message feedback
2019-05-01 17:02:29 -06:00
Jc2k
baeb3cddc6
Set placeholders in homekit config flow title ( #23311 )
2019-04-22 21:32:39 -07:00
Jc2k
4ac9a2e9de
Add storage for cacheable homekit entity maps. ( #23191 )
2019-04-18 08:55:34 -07:00
Jc2k
2b1b47bfdd
homekit_controller: Bump homekit to 0.13.0 ( #21965 )
...
* Bump homekit to 0.13.0
* Update gen_requirements_all.py
* Escape values used in TESTS_REQUIREMENTS
2019-03-12 21:54:08 +01:00
Jc2k
b0d55d1946
HomeKit controller config flow fixes ( #21898 )
...
* HomeKit controller config flow fixes
* This does work if you have latest vol-serialize
2019-03-11 10:07:12 +01:00
Jc2k
dbf129dfdd
Start preparing for homekit_controller config entries ( #21564 )
...
* Start preparing for homekit_controller config entries
* Review feedback
* Review feedback
* Only use the vol.strip validator for pairing_code
* CV not required now
* Changes from review
* Changes after review
2019-03-06 19:44:52 -08:00