Maybe ir would be simpler to get one of those smart energy monitoring plugs and plug the machine in there. When it is done power use should drop significantly.
Unfortunately I could not find a plug suitable for the dryer, but for the washer it was great. I eventually decided to decommission the majority of my smart home accessories and HomeAssistant entirely.