Well, if you have Tasmota on the board, you are going to be limited to switches, since that's pretty much what Tasmota does. You don't mention you have a relay device but if you wanted to use the NodeMCU like a switch, you're going to need a relay.
I would take a look at this thread if you're looking or idea on what folks have done with Arduinos.