Home assistant sensor timer

I have an automation when i have to much solar power (so injecting to the net) for some time i will start some energy munchers like a boiler, the airco, … for some time (mostly 10 minutes) so example i make more then 1000W for 1 minute and inject it to the net for minimum 1 minute then i start the boiler for 10 minutes. it takes 1000W and stops after 10 minutes . This works ok as long that i don’t exeed production to much. example 1 produce 2100W → automation starts after 1 minute and runs for 10 minutes so injection drops to 1100W for 10 minutes. After 10 minutes the boiler stops and injection becomes 2100W again. The problem is that i can not reset the indicated timer so the automation never starts again