How to do single AND double click on a switch in automation

You’re welcome. :slight_smile:

You can also have a look at blueprints, some of them could already do the job depending on what you want to do: