I’m currently working on enhancing my vacuum cleaner automation setup with my Xiaomi S50. So far, I’ve managed to create an automation that triggers a clean when both occupants leave the house and haven’t run the vacuum that day. It also returns to the base if someone comes home while it’s cleaning. However, I want to take it a step further by ensuring the vacuum continues cleaning even if it hasn’t done a full run in the last three days, regardless of someone coming home.
I’m considering two approaches: tracking the last full clean via a timestamp or using the cleaned area property to determine if a full clean has occurred. I’m a bit stuck on how to implement this, so I’m reaching out for some guidance or suggestions on how to proceed. If anyone has tackled a similar problem or has tips on optimizing this automation, I’d greatly appreciate it!