Represent Switchbot Pushbutton as momentary switch

I currently have a Switchbot Pushbutton “bot” in single press mode, such that upon activation, it will press a button and retract to its original position.

In HA , it’s detected as a toggle switch with switched between on and off states. I can turn it from on to off, or off to on in HA for it to press the button.

I would like for it to be represented as a momentary switch that behave just like the actual switch. When “pressed” it would toggle from off to on, and then from on off to reflect it’s actual retracted state.

You can already do this with a template button.

### configuration.yaml ###

template:
  - button:
      - name: My Switchbot
        press:
          - action: switch.toggle
            target:
              entity_id: switch.my_switchbot