Can`t get button_pressed event to work on Hassio

Hi,

I just went from Hassbian to Hassio.
Running now Hassio 0.55.2.
I have some 433 Mhz switches that doesn`t work anymore with the button_pressed event as trigger.

Does this event not work on Hassio?
The state of the button switch gets updated, so it`s not anything wrong with my rfxcom.

Example working automation on Hassbian, but not on Hassio:

 - alias: "Light kitchen on"
   trigger:
    - platform: event
      event_type: button_pressed
      event_data: {"entity_id": "switch.button_kitchen", "state": "on"}
   action:
      - service: switch.turn_on
        entity_id: switch.light_kitchen

I need the the button_pressed event, since it will trigger independently of the state of the button switch.

Help is greatly appreciated!

Dont know what was wrong, it works now, so it isn’t a issue anymore.

Your spacing was off.

image

Thank you, but that was not the problem, didn`t change anything, just worked after restart. You can have the “-” lined up under trigger, or with one or two spaces, does not make any difference. Or three as you can see under the action part.