Linking Xiaomi smart switch to Deconz

Hey, I am relatively new to home assistant. I installed Hassabian on my Pi3 and integrated a Sonoff Tasmota Switch via MQTT and it looks and works fine.
Now I tried setting up deconz and integrating a Xiaomi Wireless Smart Switch (the round one). But I fail to make it work properly.
For Deconz i added the following to config:

  deconz:
  host: 192.XXX.XXX.XX
  api_key: 41AXXXXXX
  port: 80

In HA log I can see this, when perfoming a single click on the button:

2018-03-24 16:17:58 DEBUG (MainThread) [pydeconz.websocket] Websocket data: b'\x81s{"e":"changed","id":"2","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2018-03-24T15:17:58"},"t":"event"}'
2018-03-24 16:17:58 DEBUG (MainThread) [pydeconz.deconzdevice] Switch 2: update lastupdated with 
2018-03-24T15:17:58
2018-03-24 16:17:58 DEBUG (MainThread) [pydeconz.deconzdevice] Switch 2: update buttonevent with 1002

Which looks good to me. Now I tried to implement it via automations like this:

  - alias: 'Toggle lamp Fenster'
trigger:
  platform: event
  event_type: deconz_event
  event_data:
    id: 'Switch 2'
    event: 1002
action:
    service: homeassistant.toggle
    entity_id: switch.fensterswitch

In HASS I see the automatization and when I trigger it, it works fine. But when I press the xiaomi button nothing happens. What am I doing wrong? @johga can you help? Maybe I just need a second pair of eyes. As said relatively new to all of this.