ikalchev / HAP-python

A python implementation of the HomeKit Accessory Protocol (HAP)
Other
607 stars 116 forks source link

Fix handling of multiple pairings #456

Closed bdraco closed 9 months ago

bdraco commented 9 months ago

We were missing the separators between pairings for list pairings which made iOS confused

This should fix pairing with iOS 17 as well as secondary users not being able to use the bridge for iOS 17 and older.

codecov[bot] commented 9 months ago

Codecov Report

Merging #456 (a35513a) into dev (5f45a5e) will increase coverage by 0.61%. The diff coverage is 93.33%.

@@            Coverage Diff             @@
##              dev     #456      +/-   ##
==========================================
+ Coverage   91.64%   92.26%   +0.61%     
==========================================
  Files          20       20              
  Lines        2191     2198       +7     
  Branches      276      278       +2     
==========================================
+ Hits         2008     2028      +20     
+ Misses        139      124      -15     
- Partials       44       46       +2     
Files Coverage Δ
pyhap/params.py 100.00% <ø> (ø)
pyhap/state.py 100.00% <100.00%> (ø)
pyhap/tlv.py 100.00% <100.00%> (ø)
pyhap/hap_handler.py 86.18% <90.90%> (+5.05%) :arrow_up:

... and 1 file with indirect coverage changes