bdraco / yalexs

Python API for Yale Access (formerly August) Smart Lock and Doorbell
MIT License
41 stars 19 forks source link

Please add support for the linked locking actions #175

Closed shsurury closed 2 months ago

shsurury commented 2 months ago

I have got the Yale Unity Screen Door Lock and Front Door Lock which has a link locking facility. So when I lock the Screen Door Lock the Front Door will also lock automatically. The issue is that when you lock or unlock one of these locks, the other one follows suit, but the status of the second lock isn’t updated in Home Assistant. To refresh the status, you have to open the Yale Home app and check the associated lock. As a result, even if both locks are actually in the same state, one may show as locked while the other shows as unlocked. Can I request to add linked locking action to the current Yale Home Intigration so it is able to refresh correctly.

bdraco commented 2 months ago

2024-09-01 14:06:40.348 DEBUG (MainThread) [yalexs.api_common] Processing activity: {'id': '0af6bd11-621b-4e32-b0ea-1d13804d31e7', 'timestamp': 1725061953081, 'icon': 'https://d3osa7xy9vsc0q.cloudfront.net/app/ActivityFeedIcons/linked_lock@3x.png', 'action': 'linked_lock', 'deviceID': 'X', 'deviceType': 'lock', 'title': '<b>Front Door</b> locked by linked operation.'}

2024-09-01 14:06:40.348 DEBUG (MainThread) [yalexs.api_common] Unknown activity: {'id': '74b5a4b6-8c89-4aac-8eb5-38b0350f4164', 'timestamp': 1725062446640, 'icon': 'https://d3osa7xy9vsc0q.cloudfront.net/app/ActivityFeedIcons/linked_unlock@3x.png', 'action': 'linked_unlock', 'deviceID': 'x', 'deviceType': 'lock', 'title': '<b>Front Door</b> unlocked by linked operation.'}