mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 12:30:31 +00:00
Handle accessories without a serial number in homekit_controller (#58498)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user