Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ryanpesek
Copy link
Contributor

♻️ Current situation

The LockTargetState attribute is not updated while polling/listening to events from the August API. This leads to any manual changes of the lock (ie I physically lock/unlock it) to cause the lock status to always show unlocking or locking in Homekit.

💡 Proposed solution

Update the LockTargetState attribute to be the same value as the LockCurrentState during both polling or pushed events. This plugin used to operate with this logic around the 2.0.0 version and prior but somewhere after 2.0.0 this logic was changed.

⚙️ Release Notes

LockTargetState is updated for manual lock events

➕ Additional Information

Testing

Reviewer Nudging

@donavanbecker donavanbecker changed the base branch from latest to beta-3.0.1 January 23, 2025 04:53
@donavanbecker
Copy link
Collaborator

Thanks for fixing this @ryanpesek!

@donavanbecker donavanbecker merged commit 31bafce into homebridge-plugins:beta-3.0.1 Jan 23, 2025
donavanbecker added a commit that referenced this pull request Jan 23, 2025
…144)

## ♻️ Current situation

The LockTargetState attribute is not updated while polling/listening to
events from the August API. This leads to any manual changes of the lock
(ie I physically lock/unlock it) to cause the lock status to always show
unlocking or locking in Homekit.

## 💡 Proposed solution

Update the LockTargetState attribute to be the same value as the
LockCurrentState during both polling or pushed events. This plugin used
to operate with this logic around the 2.0.0 version and prior but
somewhere after 2.0.0 this logic was changed.

## ⚙️ Release Notes

LockTargetState is updated for manual lock events

## ➕ Additional Information


### Testing


### Reviewer Nudging

Co-authored-by: Donavan Becker <[email protected]>
@ryanpesek ryanpesek deleted the update-target-state branch January 23, 2025 14:43
donavanbecker added a commit that referenced this pull request Jan 25, 2025
- Update LockTargetState to match LockCurrentState during lock refresh. Thanks [@ryanpesek](https://github.com/ryanpesek), [#144](#144)
- Fix so battery must be between 0 and 100
- Housekeeping and updated dependencies.

**Full Changelog**: v3.0.0...v3.0.1
donavanbecker added a commit that referenced this pull request Jan 25, 2025
…144)

## ♻️ Current situation

The LockTargetState attribute is not updated while polling/listening to
events from the August API. This leads to any manual changes of the lock
(ie I physically lock/unlock it) to cause the lock status to always show
unlocking or locking in Homekit.

## 💡 Proposed solution

Update the LockTargetState attribute to be the same value as the
LockCurrentState during both polling or pushed events. This plugin used
to operate with this logic around the 2.0.0 version and prior but
somewhere after 2.0.0 this logic was changed.

## ⚙️ Release Notes

LockTargetState is updated for manual lock events

## ➕ Additional Information


### Testing


### Reviewer Nudging

Co-authored-by: Donavan Becker <[email protected]>
@donavanbecker donavanbecker mentioned this pull request Jan 25, 2025
donavanbecker added a commit that referenced this pull request Jan 25, 2025
- Update LockTargetState to match LockCurrentState during lock refresh. Thanks [@ryanpesek](https://github.com/ryanpesek), [#144](#144)
- Fix so battery must be between 0 and 100
- Housekeeping and updated dependencies.

**Full Changelog**: v3.0.0...v3.0.1
donavanbecker added a commit that referenced this pull request Jan 25, 2025
…144)

## ♻️ Current situation

The LockTargetState attribute is not updated while polling/listening to
events from the August API. This leads to any manual changes of the lock
(ie I physically lock/unlock it) to cause the lock status to always show
unlocking or locking in Homekit.

## 💡 Proposed solution

Update the LockTargetState attribute to be the same value as the
LockCurrentState during both polling or pushed events. This plugin used
to operate with this logic around the 2.0.0 version and prior but
somewhere after 2.0.0 this logic was changed.

## ⚙️ Release Notes

LockTargetState is updated for manual lock events

## ➕ Additional Information


### Testing


### Reviewer Nudging

Co-authored-by: Donavan Becker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants