ZS06 Zigbee IR transmitter

Hi,
I’ve just installed my Tuya ZS06 IR transmitter. I’m using Zigbee2MQTT, and it’s working fine. I can learn codes and then send those. But now I want to do something more advanced: the remote control of my receiver only has a power toggle button. However, for automations, it would be much more handy to have separate signals for “ON” and “OFF”.

Via this online database I found out that there are separate codes for my receiver. However, I’m having a hard time converting those into a string that the ZS06 can interpret. I found various “shady” scripts online, but I didn’t end up with a working code. Can someone point me to a working solution to do from protocol/device/function to a ZS06 string?