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
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Jc2k
8c69fd91ff
Only poll HomeKit connection once for all entities on a single bridge/pairing ( #25249 )
...
* Stub for polling from a central location
* Allow connection to know the entity objects attached to it
* Move polling logic to connection
* Don't poll if no characteristics selected
* Loosen coupling between entity and HKDevice
* Disable track_time_interval when removing entry
* Revert self.entities changes
* Use @callback for async_state_changed
* Split out unload and remove and add a test
* Test that entity is gone and fix docstring
2019-07-22 09:22:44 -07:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
Jc2k
5b0d1415ad
Have homekit_controller use device registry ( #23874 )
...
* Add device registry support
* HK doesn't use mac as a connection id
2019-05-17 08:41:20 +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
e7054e0fd2
Avoid calling async code in sync context ( #23235 )
2019-04-19 10:59:54 -07:00
Jc2k
4ac9a2e9de
Add storage for cacheable homekit entity maps. ( #23191 )
2019-04-18 08:55:34 -07:00
Jc2k
16e0953f26
Fix racy homekit_controller platform setup caused by #22368 ( #22655 )
2019-04-02 09:57:58 +02:00
Jc2k
8bf5e57b7f
Move HKDevice into connection ( #22430 )
2019-03-27 20:01:10 -07: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