Unfortunately, the operating wattage range of my washer is so low, it results in frequent fluctuations between ON and OFF during a cycle and the changes you made could not compensate for this. I was able to finally resolve the issue by modifying the code to add a button 3 push when the washer is ON. I'm using this to cancel a rule actions if the washer has not stopped for 2 minutes, thus preventing false notifications.
I had to create two virtual switches, two RM triggers and one RM rule to accomplish what I needed. Maybe there's an easier way, but I couldn't figure it out.
How it works:
When the washer starts, the Aeon HEM pushes button 3. This turns on the virtual switches "Washer is running" and "Washer is done". When the washer pauses during the cycle and creates an OFF status, the rule "Send Washer Notification" becomes [TRUE] and begins a two minute countdown before it turns OFF the "Washer is done" virtual switch. If, before the two minute countdown has completed, the washer cycles ON, and therefore pushes button 3 again, then the rule becomes [FALSE] and the "Washer is done" virtual switch is turned ON, thus cancelling the countdown to OFF.
When the washer finally no longer cycles ON in a two minute period, then the virtual switch "Washer is done" turns OFF. This triggers an IFTTT notification that "The Washer has Finished".
Here's the modified code, and my RM triggers/rule if anyone finds it helpful.
[Edit] I've done a second adaptation to @ogiewon 's original port of @mike.maxwell 's Aeon HEM V1 Laundry DTH, this time adding a button 4 push to indicate the dryer is running. This can now be used in conjunction with RM and Google Assistant Relay to check the status (running or finished) of a washer and dryer.
Using IFTTT integration, you can ask Google Assistant or a Google Home for the status of your laundry and get a spoken response based on what is currently running or if nothing is running.
Please note: I have modified the original port of the code, because Dan's second revision to the code did not work for my washer and actually caused a greater number of false alarms. Your experience may be completely different. I have a very difficult washer to determine the running, versus off amperage.