Shelly Pro 4PM event triggers aren't working

Hi! I’ve been using Shelly switches as triggers to toggle my Hue lights in my rooms.

I’ve successfully used the Shelly Pro 1, and the Shelly Pro 2 for this, but now that I’m trying to use a Shelly Pro 4PM to do the exact same thing, none of the button push events are actually getting triggered. To clarify: my automation doesn’t even get triggered.

My Shellies are configured as detached buttons, which means that they don’t switch the relay, and my Hue bulbs will always be powered. I’m only interested in the button click events.

Working config, for a Shelly 1/2:

alias: Toggle Bedroom Main lights when right button is pressed
description: ""
mode: restart
triggers:
  - device_id: cc9a77edbbe61df4d08bc29dc1070ee0
    domain: shelly
    type: single_push
    subtype: button1
    trigger: device
conditions: []
actions:
  - type: toggle
    device_id: 449c010f9db96ae81b8b97542cc03f66
    entity_id: light.bedroom
    domain: light

The config that doesn’t receive any triggers, on the Shelly Pro 4PM (I didn’t write the YAML, it’s all been configured through the UI)

alias: Trigger Bathroom on Shelly 2 press
description: ""
triggers:
  - device_id: 0d8c1cf78a236d2ff073c6b6fc1c697f
    domain: shelly
    type: single_push
    subtype: button2
    trigger: device
conditions: []
actions:
  - type: toggle
    device_id: 7fc2ee7dfd4cc8c7df18472d05aaef11
    entity_id: 9dc574a087c7b095b8550857cfbbe521
    domain: light
mode: restart

The weirdest part of all this? The events actually do show up in the device tab.

Am I missing something blatantly obvious, or is there a bug in the integration with the Pro 4PM?