Continous switch toggle


Is there a way to automate a switch that is on for let’s say 1 minutes, then off for 30 seconds, then on again for 1 minutes, ethen off for 30 seconds, etc?


2 automations, 1 that triggers the other with a delay before the action.