mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Add support for HomeKit (#12488)
* Basic Homekit support * Added Temperatur Sensor * Added Window Cover * Code refactored * Added class HomeAccessory(Accessory) * Added class HomeBridge(Bridge) * Changed homekit imports to relative, to enable use in custom_components * Updated requirements * Added docs * Other smaller changes * Changed Homekit from entity to class * Changes based on feedback * Updated config schema * Add only covers that support set_cover_position * Addressed comments, updated to pyhap==1.1.5 * For lint: added files to gen_requirements_all * Added codeowner * Small change to Wrapper classes * Moved imports to import_types, small changes * Small changes, added tests * Homekit class: removed add_accessory since it's already covered by pyhap * Added test requirement: HAP-python * Added test suit for homekit setup and interaction between HA and pyhap * Added test suit for get_accessories function * Test bugfix * Added validate pincode, tests for cover and sensor types
This commit is contained in:
@@ -47,6 +47,7 @@ TEST_REQUIREMENTS = (
|
||||
'evohomeclient',
|
||||
'feedparser',
|
||||
'gTTS-token',
|
||||
'HAP-python',
|
||||
'ha-ffmpeg',
|
||||
'haversine',
|
||||
'hbmqtt',
|
||||
@@ -92,6 +93,9 @@ TEST_REQUIREMENTS = (
|
||||
|
||||
IGNORE_PACKAGES = (
|
||||
'homeassistant.components.recorder.models',
|
||||
'homeassistant.components.homekit.accessories',
|
||||
'homeassistant.components.homekit.covers',
|
||||
'homeassistant.components.homekit.sensors'
|
||||
)
|
||||
|
||||
IGNORE_PIN = ('colorlog>2.1,<3', 'keyring>=9.3,<10.0', 'urllib3')
|
||||
|
||||
Reference in New Issue
Block a user