So I’ve gone back and forth as to if this is even needed. All of these options are available in the zwave control panel. Also, many of these are things you’d rarely change. With that said, some people would like the ability to change lock settings via the UI. I’ll say this is 95% complete. I will also add, I think this is a bug, but when I change zwave settings via the services panel, they don’t reflect in the zwave control panel, but the changes definitely take. I dont know if it takes a restart of HA, or just time since the locks are battery devices, but my initial testing showed the lock settings did happen, but again, the zwave contorl panel did not reflect the changes.
Anyway, here is what I believe would be a good foundation for anyone wanting a place to set/change theier configuration. The input selects are ordered with the schlage default setting at the top. The one thing I gave up on and if anyone would like to figure it out, is the best way for this to work with multiple locks. I have two, but I dont want to have two sets of input selects, but maybe that will end up being the best choice. Enjoy
- alias: Set Schlage Lock Options
trigger:
- platform: state
entity_id:
- input_select.lock_zwave_option_3
- input_select.lock_zwave_option_4
- input_select.lock_zwave_option_5
- input_select.lock_zwave_option_7
- input_select.lock_zwave_option_8
- input_select.lock_zwave_option_9
- input_select.lock_zwave_option_10
- input_select.lock_zwave_option_11
- input_select.lock_zwave_option_15
- input_select.lock_zwave_option_16
action:
- service: zwave.set_config_parameter
data_template:
node_id: 104
parameter: >-
{% set object_id = "trigger.to_state.object_id" %}
{% set parameter = ("_".join(object_id.split("_")[4]) |int) %}
{{ parameter }}
value: >-
{% set zwave_parameter = 'lock_zwave_option_' ~ parameter %}
{{ states['input_select'][zwave_parameter].state }}
Input Selects
lock_zwave_option_3:
name: Enable or disable the beeper.
options:
- Enable Beeper
- Disable Beeper
lock_zwave_option_4:
name: Prevents all user codes from unlocking the deadbolt
options:
- Disable Vacation Mode
- Enable Vacation Mode
lock_zwave_option_5:
name: Press the Outside Schlage Button to lock the deadbolt
options:
- Enable Lock & Leave
- Disable Lock & Leave
lock_zwave_option_7:
name: Alarm sounds based on door activity
options:
- Alarm Off
- Activity
- Tamper
- Forced Entry
lock_zwave_option_8:
name: Activity Alarm Sensitivity
options:
- Medium Sensitivity
- Most Sensitive
- Medium/high Sensitivity
- Medium/low Sensitivity
- Least Sensitivity
lock_zwave_option_9:
name: Tamper Alarm Sensitivity
options:
- Medium Sensitivity
- Most Sensitive
- Medium/high Sensitivity
- Medium/low Sensitivity
- Least Sensitivity
lock_zwave_option_10:
name: Forced Entry Alarm Sensitivity
options:
- Medium Sensitivity
- Most Sensitive
- Medium/high Sensitivity
- Medium/low Sensitivity
- Least Sensitivity
lock_zwave_option_11:
name: Disable Local Alarm Controls
options:
- Enable local alarm controls
- Disable local alarm controls
lock_zwave_option_15:
name: Auto lock
options:
- Disable auto lock
- Enable auto lock
lock_zwave_option_16:
name: User code pin length (changing Lenth erases all codes)
options:
- 4
- 5
- 6
- 7
- 8
groups
zwave_door_lock_options:
name: zwave configs for schlages
view: no
entities:
- input_select.lock_zwave_option_3
- input_select.lock_zwave_option_4
- input_select.lock_zwave_option_5
- input_select.lock_zwave_option_7
- input_select.lock_zwave_option_8
- input_select.lock_zwave_option_9
- input_select.lock_zwave_option_10
- input_select.lock_zwave_option_11
- input_select.lock_zwave_option_15
- input_select.lock_zwave_option_16