Repeat action 2 times in a rule - help

Hello

Here's my rule and triggers:

When time is 06:01
When time is 20:01
Okno w sypialni changed

A little bit explanation.
I have a switch in bedroom which I want to activate between 8pm and 6am when the window is open. It was a simple rule but I noticed that sometimes my switch didn't react becouse of the signal strenght. So I want to repeat TURN ON and TURN OFF action every 1 minute until the switch react.
What's wrong in my rule?