

The HomeKit Accessory Protocol Specification only allows a maximum of 150 unique accessories ( aid) per bridge.

This, however, means that if you decide to change an entity_id that does not have a unique_id, all configurations for this accessory made in the Home app will be lost. The aid is used to identify a device and save all configurations made for it. Considerations Accessory IDĬurrently, this integration uses the entity_id to generate a unique accessory id (aid) for HomeKit. Keep in mind that the folder is usually hidden by default, depending on your operating system.īefore you copy it, make sure to stop the old and new Home Assistant instances first entirely, otherwise it won’t work.

storage/homekit.* file inside your configuration directory. If you would like to retain your HomeKit pairing when moving to a new Home Assistant device or installation, besides copying the configuration files you also need to copy the. The Home Assistant Bridge and the Accessories should now be listed in the Home app.Īfter the setup is completed, you should be able to control your Home Assistant integrations through Apple’s Home and Siri.Follow the setup by clicking on Next and lastly Done in the top right-hand corner.
#Battery status iphone widget code
Enter the PIN code (skip this step if you scanned the QR code).Confirm that you are adding an Uncertified Accessory by clicking on Add Anyway.Click Add Accessory, then scan the QR code or select Don't Have a Code or Can't Scan? and choose the Home Assistant Bridge.Note: If pin code is not displayed, check “Notifications” (the bell icon) in the lower-left of the Home Assistant UI. A new card will display the pairing QR code and the pin code as seen in the example below. After Home Assistant has started, the entities (depending on the filter) are exposed to HomeKit if they are supported.
