Add Custom Settings for specific ROMs
I would suggest to include appropiate LineageOS (+ other possible based custom ROMs) missing java classes for Settings (Global, Secure & System), to be used on Java Functions; and/or include Settings into the new latest 'Custom Settings' action, if possible, too/instead.
By now, the only way to check and change those values is using the commands: 'settings --cm get setting_name value' and 'settings --cm put setting_name value'.
Notes
- I include an example of the current error while trying to access specific classes from LineageOS ROM (attached image)
- To know more about what I'm talking about you can check my threads on Tasker's community (link), and some externals too (Reddit 1, Reddit 2, XDA-Devs 1, XDA-Devs 2)