I have a power-metering smart plug (Zooz ZEN15) on my washing machine, then I have an automation built around monitoring its power consumption to infer when it's done (spin cylces tend ot get pretty high usage). My drier is 220V and I didn't feel like doing anything for that, but the drier does has a status LED, so I'm using a HomeSeer Flex Sensor with the light attachment (HS-FS100-L) to tell when that turns off. Both require a reasonably featured Z-Wave hub to pull this off, like Hubitat (my choice), SmartThings, Home Assistant with Z-Wave, or similar. Without that, there are probably various cloud-centric, hubless solutions you can use like the one I see above.