Help with rule please

I have a rule that turns on a light when the Washing Machine finishes it cycle. This works well, but the rule is meant to turn the light off after a motion sensor registers movement when anyone enters the Laundry to empty the Washer.

Please let me know how to achieve this as the above rule is not turning the light off.

The App to get the status of the Washing Machine is Laundry Manager (from HPM). This works well for me.

Thanks for any help :slight_smile:

Instead of conditional action (IF-THEN), use Wait for Condition, for motion active. What that will do is turn it off right away if motion is active when the washer finishes, but otherwise wait until it becomes active.

1 Like

You are very close to the solution you are looking for.

There is one change you will need to make. Instead of an if condition, make it a wait for condition: Laundry motion motion active.

You will replace the IF with While, and remove the “END-IF”.

1 Like

This is the rule I use

When either the washer or gas dryer starts up, the rule starts. When both the washer and dryer are finished, a fake Himalayan salt lamp on the fireplace mantle turns on. When motion is detected by the sensor above the washer and dryer, the salt lamp turns off.

This has worked reliably for months.