Rule Machine Repeating Action not stopping on truth change

When a contact stays open for 5 minutes, the this rule will repeat. The rule just speaks a message to TTS.
The contact has closed (represented as such in the property page). You can see by the image that the rule is false, but still repeating.

There had been a bug with this that was fixed. I can't reproduce the failure.

I'm experiencing an issue with stop actions in 2.0.1.117

I've tried pause rule and I'm only able to stop the rule when paused or by removing my test switch. Otherwise it gets stuck repeating. Have I made a mistake in the rule?

app:12232018-12-06 09:24:28.303 am info --> Test Switch on [false]

app:12232018-12-06 09:24:28.294 am info --> [Nest Protect - Master Bedroom (Front Bedroom), Nest Protect - Bedroom (Middle Bedroom), Nest Protect - Hallway, Nest Protect - Kids Room (Rear Bedroom)] any detected [false]

app:12232018-12-06 09:24:28.008 am infoSmoke Detected: Paused

app:12232018-12-06 09:24:21.174 am infoSmoke Detected: Repeating Action

app:12232018-12-06 09:23:50.732 am infoSmoke Detected: Repeating Action

app:12232018-12-06 09:23:21.043 am info --> Test Switch on [false]

app:12232018-12-06 09:23:21.030 am info --> [Nest Protect - Master Bedroom (Front Bedroom), Nest Protect - Bedroom (Middle Bedroom), Nest Protect - Hallway, Nest Protect - Kids Room (Rear Bedroom)] any detected [false]

app:12232018-12-06 09:23:20.712 am infoSmoke Detected: Resumed

app:12232018-12-06 09:22:49.706 am info --> Test Switch on [false]

app:12232018-12-06 09:22:49.696 am info --> [Nest Protect - Master Bedroom (Front Bedroom), Nest Protect - Bedroom (Middle Bedroom), Nest Protect - Hallway, Nest Protect - Kids Room (Rear Bedroom)] any detected [false]

app:12232018-12-06 09:22:49.375 am infoSmoke Detected: Paused

app:12232018-12-06 09:22:42.616 am infoSmoke Detected: Repeating Action

app:12232018-12-06 09:22:12.079 am infoSmoke Detected: Repeating Action

app:12232018-12-06 09:21:42.558 am info --> Test Switch on [false]

app:12232018-12-06 09:21:42.524 am info --> [Nest Protect - Master Bedroom (Front Bedroom), Nest Protect - Bedroom (Middle Bedroom), Nest Protect - Hallway, Nest Protect - Kids Room (Rear Bedroom)] any detected [false]

app:12232018-12-06 09:21:42.029 am infoSmoke Detected: Resumed

app:12232018-12-06 09:21:38.972 am info --> Test Switch on [false]

app:12232018-12-06 09:21:38.956 am info --> [Nest Protect - Master Bedroom (Front Bedroom), Nest Protect - Bedroom (Middle Bedroom), Nest Protect - Hallway, Nest Protect - Kids Room (Rear Bedroom)] any detected [false]

app:12232018-12-06 09:21:38.631 am infoSmoke Detected: Paused

app:12232018-12-06 09:21:36.969 am info --> Test Switch on [false]

app:12232018-12-06 09:21:36.958 am info --> [Nest Protect - Master Bedroom (Front Bedroom), Nest Protect - Bedroom (Middle Bedroom), Nest Protect - Hallway, Nest Protect - Kids Room (Rear Bedroom)] any detected [false]

app:12232018-12-06 09:21:32.153 am infoSmoke Detected: Repeating Action

app:12232018-12-06 09:21:01.665 am infoSmoke Detected: Repeating Action

As far as I can tell, mine was resolved with one of the previous two updates.

Truth change does not apply to triggered rules, as the conditions are only tested when it is triggered. Why are you using a triggered rule instead of just a rule? Your conditions are the same as your trigger events. That's probably your problem. Use a rule.

1 Like

Right, false it only tested on trigger. That was stupid of me. Thanks.

[Edit] Working as expected. Faulty operator :grin: