I would like to turn on a switch at 09:00 and then have it toggle every 15 minutes on/off. Then at 19:00 i want to turn that switch off.
I have written this but it does not work, and i assume it wont know if the swtich is on or off at 9am, which is a problem because i dont want the switch to be left on all night.
Is there then a way to group these automations? I have a list of “slide/toggle” switches on an entities card that turn on or off the automation. Seeing as this is two automations ideally would only want one switch to turn them on or off. I put the automations in a group but that does not seem to help me…
If you want to enable/disable an automation, add a State Condition that checks an Input Boolean. If the Input Boolean is on the automation is effectively enabled. If the Input Boolean is off the automation is effectively disabled.
The same Input Boolean can be referenced by multiple automations thereby allowing you to control them all at once.