Node-Red Flow to Automation

Hello,

i´m currently move my node red flows to automations and struggling with one flow. The flow is for an philips remote (324131092621) where i also found some blueprint but not with a double or tripple tap.

If anyone can help, would be nice.