biotinker / LibreTasks

An updated form of Omnidroid
Apache License 2.0
82 stars 22 forks source link

Add Wait and If actions #239

Open neutor opened 3 years ago

neutor commented 3 years ago

Use case:

Im using my device as car GPS unit. I want it to power off when charging stopped, but only after 20sec are passed and charging has not started again in this period:

Trigger: Power Disconnected Action: Wait 20 seconds If: Power Disconnected -- Then: Action: Power Off

Source: https://android.stackexchange.com/a/214058