How would you like to do the choice?
I think we have already a built-in mechanism for that, but that would require a command line.
We have channel types - so you can do smth like "setChannelType 1 Toggle", etc etc, it's mostly for TuyaMCU and scripting, hmm...
Maybe I could add a "setChannelType 1 Relay" and "setChannelType 2 Light", that kind of thing.
How comfortable are you with using commands?
Maybe I can try adding a GUI for that on the Web App.
Helpful post? Buy me a coffee.