I’m not sure what’s available in the new V3 app custom automation creator for this. There might be something there.
In the classic V2 app, it’s straightforward although there is a little setup to do. . You just set up a virtual switch to act as a timer and then daisychain them.
So real switch comes on and you use the power allowance feature to have it turn itself off after seven minutes.
Then you have the real switch turning off trigger the virtual switch to come on, and set up a power allowance feature on the virtual switch to turn itself off after 53 minutes.
Then you have one more rule to have the real switch turn on when the virtual switch turns off.
This will create an infinite loop where virtual switch comes On for 53 minutes (with no result in the real world, it’s just acting as a timer). It turns itself off. Real switch comes on for seven minutes then turns itself off. Real switch turning off triggers the virtual timer to come back on for the next 53 minute period. And so on.
You could also use two virtual switches with the real switch mirroring only one of them which would then give you the option of turning the real switch on in other ways and leaving it on for more than seven minutes.
There are lots of other ways to do this, including webcore, so it just depends on what you want.
Or, like I said, it might be an option in the V3 app, I don’t know that one very well.
Here’s the wiki article on creating a virtual timer in the V2 app that should give you more ideas: