Trigger automation using "Attribute updated" event?

Hi,
I would like to trigger an automation via the button on my Zigbee temperature sensor (an aqara zigbee temperature sensor). When I press this button, the following entry appears in the logbook:
image
Furthermore I see in the Logbook of my Zigbee coordinator the entry:

TempSens1 Attribute Updated event was fired

18:29:16 - Vor 10 Minuten

However, when I want to select this event in the configuration of the automation I am only presented with the following list:

Apparently, the event “Attribute Updated” event is not in that list. The logbook unfortunately does not provide further information what type of event is fired here. I tried to use development tools for finding out the type of event, but I cannot find out how the tools there work.
How can I listen to this event with my automation?

Best
Phil

Okay, I solved this.
The trick was to listen to all events to figure out which one I needed.

Therefore I filled in a “*” in Developer Tools/Events in the box “Listen to events”, and pressed my button.
I could now see among the events during that timespan the event I was looking for:

event_type: zha_event
data:
  device_ieee: xx:xx:xx:xx
  unique_id: xx:xx:xx:xx
  device_id: xxxxxx
  endpoint_id: 1
  cluster_id: 0
  command: attribute_updated
  args:
    attribute_id: 5
    attribute_name: model
    value: lumi.weather
  params: {}
origin: LOCAL
time_fired: "2023-01-11T11:55:53.184023+00:00"
context:
  id: xxxxx
  parent_id: null
  user_id: null

I put this over to the automation, and am now listening to all the event of that device. That should be that.

1 Like