SecKatie / ha-wyzeapi

Home Assistant Integration for Wyze devices.
733 stars 112 forks source link

[Bug] Wyze Lock state changes from Lock to UnLock (or vice-versa) several times #511

Closed GuillaumeB-GitHub closed 11 months ago

GuillaumeB-GitHub commented 1 year ago

Wyze Lock state changes from Lock to UnLock (or vice-versa) several times.

Steps to reproduce the behavior:

Just click Lock or UnLock in HA and look at the state of the lock: it will switch several times. See screenshot attached. The state should go to Locking/UnLocking and then Locked/UnLocked

There is a bug in the code in lock.py in the functions async_lock and async_unlock : these functions should set the state to UnLocking or Locking not Locked/UnLocked.

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 11 months ago

This issue was closed because it has been stalled for 5 days with no activity.

vapuri commented 10 months ago

I'm seeing the same issue as described by @GuillaumeB-GitHub with my wyze lock.