Virtual Switch to trigger custom command from device based on custom DH?

Hi guys,

I have a nanoleaf and I’m running this DH

There are some custom commands that I want to use a virtual switch to trigger.

previousScene()
nextScene()

Then add that virtual trigger into the Advance Button Controller smart app. Would this be the best way to go about this? (this would then allow me to use the forward and prev buttons on the Ikea 5 button remote.

Are they any guides to a similar kind of set up? (Googling, haven’t found it yet myself)

Thanks all, appreciate it