I have a problem with my automation that only will be triggered one time after my inverter power is above 4000W for eight minutes.
If not all conditions are fullfilled it will not trigger any more.
How it will be restarted again?
One solution is to add the conditions as trigger but I do not now how to check the inverter power above 4000W for eight minutes again?
Some time ago it was able to add a time in condition.
condition: numeric_state
entity_id: sensor.victron_battery_soc
above: 30
for: 8 minutes does not work anymore
For example: A Value in condition has to be above XXX for a time XXX.
It’s not clear how your trigger and your condition work together - could you post the whole automation? (If you post it as preformatted text - </> in the cogwheel toolbar - people reading will be able to copy it and examine it more easily).
One point: the automation triggers when power goes above 4000W. It won’t fire a second time until power drops below 4000W and goes up again. It’s possible this didn’t happen when you were testing.
This is what a condition block is supposed to do - it stops the automation running if all conditions are not true.
once the inverter is above 4000W for eight min. let say it will jump into the conditions, for example one of the condition is not fulfilled the program will stuck.
It will be only restart, if the inverter goes below the 4000W.
I need a kind of loop, if one of the conditions is not fulfilled it will get autom. back to the trigger case.
Hope somebody can help me.