I have managed to partially achieve what I want with the following settings:
Under Z-wave settings for the node I set the following:
Node Config Options:
Parameter 123: Control destination for S2 = Control other nodes
Node group associations:
Group 4: Control Key2 = Node to Control - (controller Node1)
This successfully sends an event to the controller when the switch is toggled. I can then use this in an automation as follows:
- id: '1581203423803'
alias: Dining Table LED Light on from Zwave switch
description: ''
trigger:
- event_data:
basic_level: 255
entity:id: zwave.zwave_dual_switch_patio_dining_2
event_type: zwave.node_event
platform: event
condition: []
action:
- entity_id: light.yeelight_color2_7c49eb157036
service: light.turn_on
and an equivalent automation to switch the light off when basic_level = 0.
When I do this with one light - it works correctly, however when I add the same configuration for a second light (with the automation using the appropriate entity_id) - toggling either switch switches both lights together.
I’m guessing this has something to do with the fact that both switches are set to control Node 1 (the controller), even though the automations are set to trigger off the unique entity_id.
Is there another or better way to achieve this with multiple lights?