FutureTense/keymaster

ISSUE: Incorrect notifications

Opened this issue · 4 comments

Describe the bug
In the latest fix, I was able to get notifications working. However, the notifications are mostly invalid. 1. Interior LOCK operations show as "unlock" and incorrectly reference the last used code. 2. Interior "lock" operations also show as "unlock" referencing the last used code. Neither of the operations require a code. The lock should not reference any code for any interior (non-code) event. Only exterior (code) events should reference a code. Of course a lock operation should say lock, not unlock.

Environment (please complete the following information):

  • OS: latest
  • Type of system that HA is running on: NUC
  • Lock make and model: Schlage BE369

keymaster 0.84
Home Assistant 2023.1.6
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230110.0 - latest

Logs
Paste your error logs here.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
Please add emails in plain/text format if possible and applicable.

Verify what your alarm type and alarm level change to when you manual lock/unlock your lock.

There are 7 possible lock/unlock possibilities.
No code required:
1.interior manual unlock
2.interior manual lock
3.exterior lock and leave (use the top button, must be enabled in settings)
Code required:
4.exterior code unlock
5.exterior code lock
6.remote code unlock
7.remote code lock

The current keymaster only seems to use one version. Everything is "unlock" and is based on the last code used. It does not matter which of the 7 possibilities were actually used. That is far from complete.

Verify what your alarm type and alarm level change to when you manual lock/unlock your lock.

I can already tell you that the one related directly to the code, does not change with a manual interior lock or unlock. It only changes when a code is entered. Otherwise it remains at the last setting. I will verify which that is, and the other setting, when I get a chance.