Problems with xiaomi wireless button

Hello everyone. I have some problems with xiaomi_aquara.click event. I have wireless switch - WXKG01LM, and xiaomi gateway v3.
I set up an automation to switch on and off ligt on a gateway with this switch, but nothing happens. Here is the code.

- id: '1550331407589'
  alias: test - switch light
  trigger:
  - event_data:
      click_type: single
      entity_id: binary_sensor.switch_158d000271d84c
    event_type: xiaomi_aqara.click
    platform: event
  condition: []
  action:
  - data:
      entity_id: light.gateway_light_7c49eb1b9ecd
    service: light.toggle

In event bus, i see switch events

{"id": 1, "type": "event", "event": {"event_type": "xiaomi_aqara.click", "data": 
{"entity_id": "binary_sensor.switch_158d000271d84c", "click_type": "single"}, 
"origin": "LOCAL", "time_fired": "2019-02-17T10:50:04.818931+00:00", "context": 
{"id": "***************************************", "user_id": null}}}

I was able to toggle light with door sensor, with state action, but with wireless buton it does not work.

- id: '1550331407589'
  alias: test - switch light
  trigger:
  - entity_id: binary_sensor.switch_158d000271d84c
    for: 00:00:01
    from: 'off'
    platform: state
    to: 'on'
  condition: []
  action:
  - data:
      entity_id: light.gateway_light_7c49eb1b9ecd
    service: light.toggle