Add ContentObserver to monitor for changes in Secure/Global/System settings
This is a very basic feature that should be built in to Tasker. It will open up automation based on toggling of settings, many of them OEM settings, that were never before possible.
For example, I could monitor for changes in the status of Night Light and then act off of that by, for example, changing between a Light/Dark theme.