Make z-wave door contact turn on a light

Hello,

I’m just starting with setting up Home assitant.OS on a Raspi 4

  • Core2024.9.3
  • Supervisor2024.09.1
  • Operating System13.1
  • Frontend20240909.1

I have a z-wave hat raZberry 2 and so far just 2 Shelly Cubinos connected to Lamps and a door-sensor Brand “Schwaiger”.

Z-wave JS seems to run fine.
Driver version: 13.3.1
Server version: 1.38.0
Home ID: 4130076036
Server URL: ws://core-zwave-js:3000

Everything seems operational.
The Shelly cubinos show up and can be controlled in the web interface 192.168.xxx.xxx:8123/config/devices/device/… “controls” section (light actially toggles)

When I open an close the door the log shows meaningful entries (shown below).

So I went into automation-> add automation. Unter “Do something when…” selected “Sent a notification”.
But I can’t figure what to enter in “Type”, “Label”, “Event” and “Event Label” to get this acually triggered. And what is neccessarz and what not.

Log Level changed to: Verbose
2024-10-03T15:37:41.362Z DRIVER « [Node 003] [REQ] [ApplicationCommand]
└─[BasicCCSet]
target value: 255
2024-10-03T15:37:41.365Z CNTRLR [Node 003] treating BasicCC::Set as a report
2024-10-03T15:37:41.416Z DRIVER « [Node 003] [REQ] [ApplicationCommand]
└─[NotificationCCReport]
V1 alarm type: 6
V1 alarm level: 255
notification type: Access Control
notification status: 255
notification state: Window/door is open
2024-10-03T15:37:44.235Z DRIVER « [Node 003] [REQ] [ApplicationCommand]
└─[BasicCCSet]
target value: 0
2024-10-03T15:37:44.237Z CNTRLR [Node 003] treating BasicCC::Set as a report
2024-10-03T15:37:44.292Z DRIVER « [Node 003] [REQ] [ApplicationCommand]
└─[NotificationCCReport]
V1 alarm type: 6
V1 alarm level: 0
notification type: Access Control
notification status: 255
notification state: Window/door is closed

Trigger using the entity provided by the door sensor device, not by Z-Wave events.