How can I identify an HMAccessory
as a bridge? Perhaps I have missed something but I cannot seem to find any HMServiceType
or HMCharacteristicType
that corresponds to a bridge. Any help appreciated.
Identifying bridge accessory in HomeKit
369 Views Asked by Christian R At
2
There is a
category: HMAccessoryCategoryType
property onHMAccessory
where HMAccessoryCategoryTypeBridge represents bridge apparently. The online docs seem to be missing a lot of new properties and functions introduced in iOS9. One can also useuniqueIdentifiersForBridgedAccessories: [NSUUID]?
on HMAccessory which returns non-nil if the accessory is a bridge