Invert toogle lovelace

I have a question about guest state for vacuum cleaner and home alarm

I want to invert my toogle in lovelace, now its binded (when toogled on) to have two automations on, but i want to invert it, so when i toogle to ON in lovelace, i want my automation to go off.

How do i invert this?

Any ideas?

You could create a template switch.

Thank you!