Is there any way to create a software-only switch/button?

I’m looking for a component that has no corresponding physical device, but which appears on the UI and can be used to trigger automation events. Is there any way to do this?

1 Like

try this

Thanks, that’s useful. Is there also a button that works as a one-time trigger, instead of an on/off switch?

Scripts have a built-in activate in the UI.

You could also use an input_boolean and have your action set it to “off” when it completes.

1 Like