Logbook entry as a trigger for automation

Hello,

I can’t manage to create a logbook entry as a trigger for an automation.
It is a Zigbee switch via deconz. In HA I only have the battery entity and no button entities but in the logbook I see the switching entries of the buttons
who has an idea for me
Thanks

You can’t use the events?

I have already searched for it but cannot find an example.
Can you please show me an example?
I have the “8Switch” device and get the message in the logbook “8Switch fired event ‘1002’” when I press the button on switch 1 I would like to have this as a trigger

Go to developer tools → events.
I guess you need to listen for deconz. Have a look in the list to the right.
Press listen and you should see the events from the switch.

Thanks, but nothing is displayed.
I have logbook_entry as the event type and “deconz” for the listener
I have already tried this:

alias: test8
description: test8
trigger:
  - platform: event
    event_type: logbook_entry
condition:
  - condition: template
    value_template: >
      {{ trigger.event.data.message == “8Switch fired event ‘1002’” }}
action:
  - service: notify.pushover
    data:
      title: test8
      message: test
mode: single

Does anyone else have any ideas on how this can be implemented?
i still don’t have a solution

??
There is only one field to listen to. How can you have two entries?

Your template is using fancy quotes. It should use standard single and double quotes.

condition:
  - condition: template
    value_template: >
      {{ "8Switch fired event '1002'" in trigger.event.data.message }}

By using in it will find the desired text within a potentially longer message.