šŸ’” Single button on/off/dim switch v2

If anyone wants to try a Shelly i4 blueprint used in button mode so you dont loose any features of the device, see here…

I must be a complete idiot, i cant get this to work with my lightbee switch that is set up as a PTM 215Z in Z2MQTT.

i get a ā€œpressedā€ command and a ā€œreleasedā€ command when i push a button.

i’ve found some different blueprints an one of them needs a binary sensor to work but my button cant do that.

i’m so damn confused about this.

this problem is the only reason i havent moved all my things from the HUE hub to HA yet, since this function already works in HUE i cant see why it is not standard feature in HA or at least an easy fix for HA.

It’s easier than you think: