Switch Auto On-Off

Dear all,

I would like to automate a switch so it turns ON and OFF automatically two time per day. I could create differents Automations but I was wondering if there is a smarter way to do it in HA or a blueprint (I havent’s found it so far).

May I ask if you have any suggestion?

You can create one automation with different triggers, and then call the action you want based on those. Use trigger IDs and the choose function.

Hello Asky82,

I’m sure that can be done. Also having someone or something writing it for you means the second it misbehaves, you will be struggling back to find someone to fix it for you.
The best way to learn is to just try. Run thru the docs on getting started with the automation editor. If you get stuck, come back with what you have done.

and
The Home Assistant Cookbook - Index.

How to help us help you - or How to ask a good question.

1 Like