Problem is that you write off some rule and forget how things work over time.
Want to write a simple automation. I will flip an input boolean switch - coming home and HA should check the google drive time to me. So wheni am in proximity of 15 minutes - it will switch on the airconds and bring the temperature down. Below is the rule i came up - but now i’m in confusion. With the trigger input_boolean state to on - will HA check and fire only once when the switch is off from on or it will fire up several time until conditions are met? If the first option than the trigger shoul’d be driving time - state?
It checks when it goes from any state to “on”. After that it does not trigger again until it goes again from another state to “on”.
Perhaps what you want is use a time trigger that fires every X minutes, seconds or what have you and use a condition to check whether your switch is on in order to only do something when necessary.
Well i coul use the driving_time like i stated. So everytime it updates - it checks on the condition if input boolean is on. But that sounds like more unnecessary load. So actually woul be wiser that after input boolean is on - something fires up that checks every 5 minutes for other conditions and fires up when they are satisfied. But for this - no idea on the coding
Check the driving time (action) every 5 minutes (time trigger) only if the switch is on (condition).
Are you worried about the load of the time trigger? I wouldn’t be.