Disable automation for manual actions

Hello,

I have a roomba vacuum with two automations, one to clean once in a while, and another one to stop the vacuum when I get home. I want it to clean only when I am not at home. But sometimes I need the vacuum to clean no matter what. I would like it to ignore the stop automation when started manually.
How can hassio know why the vacuum is cleaning? If it was started by an automation or manually

Make your automation throw a flag (input boolean) on when it is set off and turn that flag off when complete.

If the vac is on and the flag is on. Bobs your uncle.

1 Like