Adding Accessory Results In Duplicate Accessory Entries In HMHome

Originator:richbruchal
Number:rdar://35614747 Date Originated:11/17/17
Status:open Resolved:
Product: Product Version:iOS 11.1 + tvOS 11.2 beta
Classification: Reproducible:sometimes
 
Area:
HomeKit

Summary:
Adding an accessory sometimes results in the HMHome object accessories property containing duplicate entries for the added accessory. Both accessories have the same identifier.

Steps to Reproduce:
1. Add accessory via call to HMHome addAccessory.
2. Completion handler called with no error.
3. Receive HMHomeDelegate home:didAddAccessory call

Expected Results:
Accessories property of home passed in delegate should contain existing accessories, plus the newly added accessory.

Actual Results:
Accessories property contains 2 entries for the newly added accessory, both with the same identifier.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!