Hi and thanks :)
To create revert tasks, you can use the scan conditional block.
For example :
( Cond: Scan n°1 / Include
- Task 1
- Task 2
- ...
) ELSE (
- Task 3
- Task 4
- ...END )
To toggle WiFi, Mobile Data, GPS, etc, you need to have a root access on your device.Because those tasks has being limited by Google over years of Android updates and new policies...
Here is a page that brings some alternatives to broken features :
https://www.wakdev.com/en/more/wiki/apps/why-some-features-are-broken.html
There is some workaround with Ok Google that you can try.
Yes, because Google in the other hand have all the rights on your device...
So the trick is to use TTS to send a command to Google Assistant.
Eg:
- Launch OK Google
- Wait 2s or 3s (you can adjust)
- TTS : "Turn my WiFi on"
Hope this is helps.
Thanks a lot for your support :)