Basically I am looking to do quite a simple thing, if a contact is open and stays open, send a notification every X minutes until the contact is closed. For HE RuleMachine, there’s a simple “cancel if truth changed” option, which cancels the statement altogether. For WC I am not sure what the design should look like.
if (device.contact is open)
repeat
wait 5 minutes;
if (device.contact is open)
notify
until device.contact is closed
Is that the right line of thinking? What if I want to have
any of device1.contact, device2.contact, device3.contact is open - there we run into hairy parallelism issues which I would rather avoid dealing with.