Switch without state to have 1 button in gui

Hi,

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 ?

Thanks,
Roi

1 Like

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.

scripts and scenes appear as a round icon at the header. i would still like to have a card with switches. can i make a card with scenes/scripts?

Yes - you just need to make a group and they will appear as line entries rather than the round icons.