After upgrade auto deconz_event is not working

I have this config

- id: '1642570360465'

alias: Knapp_hall_dorr_enkel
trigger:

  • event_data:
    event: 1002
    id: lumi.sensor_86sw1_24
    event_type: deconz_event
    platform: event
  • event_data:
    event: 1002
    id: lumisensor_86sw1_33
    event_type: deconz_event
    platform: event
    condition:
    • condition: template
      value_template: ‘{{ as_timestamp(now()) - as_timestamp(states.light.hall.last_changed) | int > 3 }}’
      action:
  • data:
    entity_id: light.hall
    service: light.toggle

And in log I see

2019-02-07 17:55:01 DEBUG (MainThread) [pydeconz.deconzdevice] lumi.sensor_86sw1 24: update lastupdated with 2019-02-07T16:55:01
2019-02-07 17:55:01 DEBUG (MainThread) [pydeconz.deconzdevice] lumi.sensor_86sw1 24: update buttonevent with 1002
2019-02-07 17:55:01 DEBUG (MainThread) [pydeconz.websocket] Websocket data: {“e”:“changed”,“id”:“24”,“r”:“sensors”,“state”:{“buttonevent”:1002,“lastupdated”:“2019-02-07T16:55:01”},“t”:“event”,“uniqueid”:“00:15:8d:00:01:83:de:1e-01-0006”}

But is not working.
Don´t understand wat hass have change…

I know it’s being 6 months since your post, but I have the same problem and have no idea why I do not get deconz_events. As in your case, deconz websocket data is delivered with no problem to Home Assistant.

Do you remember how you solved this issue?

Thank you.

When do you not get events? After a while or just never?

Thank you for getting back to me.
I never get the events. I learned from someone that deconz events are not delivered for binary_sensors and that is what Xiaomi Vibration Sensor is recognized as by Home Assistant.
Looks like Deconz changed the implementation and that is why events are not any longer available.
Do you still get the events from VIbration sensor?

indeed, deconz events are not delived to sensors, you need to make automations for it, like example below that i use for an ikea remote switch

Thank you for you response, but I am not sure I understand.

I have a Xiaomi Vibration sensors that Deconz presents to Home Assistant as binary_sensor. There are no deconz_events to trigger any automation from so, I am not sure how the example you proposed applies.

Ah indeed, sorry can’t help with that then