Hi!
Due to Google's Android restrictions, some features like WiFi can’t be handled directly by Tasker. This limitation is beyond my control, but you can bypass it by installing the Tasker Settings app, available here: https://github.com/joaomgcd/TaskerSettings/releases.
Make sure to download the version that supports the functionality you need. Newer versions may request more permissions, so choose the one that best fits your needs.
Also, exempt Tasker Settings from battery optimization, or it might not work. Instructions can be found here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00.
Important Note: On Android 14+, Tasker Settings must be installed via ADB using this command:
adb install --bypass-low-target-sdk-block FILENAME.apk
Alternatively, you can install the Tasker Settings app without a PC, using Shizuku. Please see the release notes at the download link for full details.
Unfortunately, there's no way around these new system restrictions, sorry.
I hope this helps, and let me know if it works for you. Thanks!