How to stop a rule during execution?

I wrote a Rule to turn on the light in the morning to wake me up. (fade over 20 min)
How do I stop the Rule in mid execution?
for example I have the day off and forgot to turn the alarm off.
when the light goes on and I just turn it of with a switch it comes on again because the rule is still running.
How do I set a trigger to stop the Rule?

In general, how to "stop" depends on what specific actions you're talking about, so sharing your whole rule (e.g., as a screenshot) may be your best bet. But from your description, it sounds like you are using the "Fade dimmer over time" action. In this case, the Cancel Rule Timers action (under Set Private Boolean, Run/Cancel/Pause Rules) will do so. You can choose what rule's timers to cancel, whether the same rule or another rule.

This is normally most easily be done from another rule, triggered based on whatever event makes sense (in your case, sounds like switch off for the light in question?).

1 Like

Awesome Thank you!
That's exactly what I'm looking for.