1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Homekit controller BLE groundwork (#20538)

* Define the characteristics to poll (or subscribe to) up front

* Configure characteristics immediately instead of during first poll

* Do as much cover configuration upfront as possible

* Remove test workaround as no longer needed

* Remove switch code that is already handled by HomeKitEntity

* Remove lock code already handled by HomeKitEntity

* Remove light code already handled by HomeKitEntity

* Remove alarm code already handled by HomeKitEntity

* Remove climate code already handled by HomeKitEntity
This commit is contained in:
Jc2k
2019-01-28 16:21:20 +00:00
committed by Martin Hjelmare
parent 995758b8ac
commit 41c1997b88
9 changed files with 177 additions and 72 deletions

View File

@@ -39,7 +39,7 @@ def create_window_covering_service():
obstruction.value = False
name = service.add_characteristic('name')
name.value = "Window Cover 1"
name.value = "testdevice"
return service
@@ -166,7 +166,7 @@ def create_garage_door_opener_service():
obstruction.value = False
name = service.add_characteristic('name')
name.value = "Garage Door Opener 1"
name.value = "testdevice"
return service