I would like to turn the indicator LED on my ZEN71 switch red when a door lock status is “unlocked”. Is there a way to do this?
Yes. Are you running Z-wave JS UI? If you go to the Z-wave UI, click on the device you are interested in, make the following changed:
- LED indicator to Always On
- LED Indicator: Confirm Configuration Change to Disable
Then in the device page you need to enable the LED Indicator Color in configuration.
Here is an automation I am using for this exact purpose:
alias: Side Lock monitor
description: ""
trigger:
- platform: device
device_id: 79de2c039698eed4cd32b1e587c822c3
domain: lock
entity_id: d63fd3aa61f0844773c92f185dd36ba4
type: unlocked
id: Unlocked
- platform: device
device_id: 79de2c039698eed4cd32b1e587c822c3
domain: lock
entity_id: d63fd3aa61f0844773c92f185dd36ba4
type: locked
id: Locked
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- Unlocked
sequence:
- device_id: b3c74a570c138bc788865029b1395410
domain: zwave_js
type: set_config_parameter
endpoint: 0
parameter: 23
bitmask: null
subtype: 23 (LED Indicator Color) on endpoint 0
value: 3
- conditions:
- condition: trigger
id:
- Locked
sequence:
- device_id: b3c74a570c138bc788865029b1395410
domain: zwave_js
type: set_config_parameter
endpoint: 0
parameter: 23
bitmask: null
subtype: 23 (LED Indicator Color) on endpoint 0
value: 2
mode: single