-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement missing functionality for Door Locks #21
Implement missing functionality for Door Locks #21
Comments
See the original issue in core for some discussion about this, the gist is that there are no configuration options missing but actual controls and sensors for door locks. |
@AlCalzone I started looking at this again. Can you review my assumptions and tell me which, if any are wrong?
|
|
Are you saying that if the v4 properties aren't included, the library should read the cached values or are you thinking about adding this to the driver? |
Related to 2. in the above comment, other states than locked and unlocked can also not be displayed:
|
So, I got further this time, but setting the lock configuration still fails. This is because This field is required when the operation type is timed. Also how is this supposed to be formatted? I can't get it to pass validation: |
Shouldnt this be in the expert UI ? |
Very, very short term fix:
Better:
|
Device diagnostics: |
I think I've found the bug for missing lock timeout configuration. We don't include that attribute when building the dict from the dataclass that represents the lock configuration in the client library. So even though we pass the parameter from the integration it's not included in the parameters sent from the client to the server. I'm working on a fix. |
Let's move the expert panel tasks to a new issue. I'll close this issue when merging the fix. |
Followup issue: #48 |
Please paste the YAML from the YAML mode instead. |
We decided to remove those parameters (inside/outside handles) since they weren't required for certification as we understood it at that time. We forgot to remove it from the service description. |
From core created by AlCalzone: home-assistant/core#86955
The problem
(the mentioned operation types mean constant
0x01
and timed0x02
, V4+ adds additional ones)I could not find any way to configure the operation type of a lock, so this will need to be added before certification.
Also setting the lock mode (Locked, Unlocked, and several timed modes) must be available to the user if supported by the lock:
What version of Home Assistant Core has the issue?
2023.1.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Z-Wave JS
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: