Handle accessories without a serial number in homekit_controller (#58498)
This commit is contained in:
parent
3b7f620aad
commit
5581f58aad
5 changed files with 726 additions and 19 deletions
|
@ -11,6 +11,10 @@ TRIGGERS = f"{DOMAIN}-triggers"
|
|||
HOMEKIT_DIR = ".homekit"
|
||||
PAIRING_FILE = "pairing.json"
|
||||
|
||||
IDENTIFIER_SERIAL_NUMBER = "serial-number"
|
||||
IDENTIFIER_ACCESSORY_ID = "accessory-id"
|
||||
|
||||
|
||||
# Mapping from Homekit type to component.
|
||||
HOMEKIT_ACCESSORY_DISPATCH = {
|
||||
"lightbulb": "light",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue