ZWave switch state in automation

I’ve been a long time user of OpenHab and I’ve finally made the switch to HA 2020.12 and I’m loving it.

I have a few automations that were triggered by a physical switch (Jasco ZWave 45609) where when I press the on button it turns on additional lights (switches) in the room.

I have created a rule and when I execute it from HA it works as expected, I turn on the 1 switch, and the other lights turn on. I’m using the Event Trigger Click trigger and the entente_id is my physical switch.

The issue is that when I press the switch only the light connected turns on. What am I doing wrong?

alias: Family Room - Turn on all lights when Switch is pressed
description: ''
trigger:
  - platform: event
    event_type: click
    event_data:
      entity_id: switch.wall_unit_switch_2
condition:
  - condition: state
    entity_id: switch.wall_unit_switch_2
    state: 'on'
action:
  - type: turn_on
    device_id: ae9de5fe6eee7b264c9c44dedee2a13d
    entity_id: switch.corner_lamp_switch
    domain: switch
  - type: turn_on
    device_id: 97c2024f08992adaa45355fbf874ce6e
    entity_id: switch.bar_lamp_switch
    domain: switch
mode: single

Where did you get this event type from? If it’s a zwave switch, there’s no such thing.

Using the developer tools events I watched the events and changed my event type and it’s now working. I’ve posted my working trigger below:

trigger:
  - platform: event
    event_type: state_changed
    event_data:
      entity_id: switch.wall_unit_switch_2
condition:
  - condition: state
    entity_id: switch.wall_unit_switch_2
    state: 'on'
action: