Is it possible to have a switch with just 1 command?
My switches don’t have a state so a command is to toggle current state without knowing old/new state.
Is it possible to have switches in the gui with only 1 button instead of 2 buttons of on/off ?
Scripts and Scenes are effectively that - they are entities that you trigger with a 1 shot action and have no state (although technically you can stop a script, but its not exposed in the gui).
If you use a scene you can directly set your desired device states or whatever, if you want to do more, you can jump into scripting which is a little more versatile.