As written, that rule will run when the door opens, and if the time isn't within the rule, it'll just end. There's also no check for when the door closes, so if the notifications start, they'll just go forever.
You want the trigger to be the time, and you need a way for the notifications to stop. Try something like this:
Time is 21:30
IF (Garage Door open) THEN
Repeat 20 times every 0:00:20 (stopable)
IF (Garage Door Closed) THEN
Stop Repeating Actions
Set the first number in the "Repeat" to the maximum number of notifications you want to receive.
Hello there @neonturbo
I agree I could have used Built in notifications, but I am not sure i would get same funtionalities.... How can I program a notification to be trigger only "if" the door is open using Built in Notifications?
I assume I can only trigger the notification if I open the garage door, but the Built in notifications will not recognize that the door is open to trigger the notification. In other words, I am not sure how to implement a "ONLY IF" command.... Am I right ?
Would "Restrictions" (in Notifications) give you that functionality? I have used them in some simple automations to activate only within certain times. The one case it would not cover is if the door was open BEFORE 21:30 and still open after 21:30 (but I don't think your rule would cover that either?).
Just curious - did you create 2 rules (one that executes at 22:00 and one after 22:00)? I had a similar issue with a lux trigger not activating if there was no change between before and after the time I wanted it to be monitored. So I created one rule that checked the lux reading at the particular time (08:00) and then the regular trigger based on lux readings (between 08:00 and Sunset-120) after that.