I have assigned an exit task that sets Lux in Auto Dynamic Mode after you exit the app. The profile works and sets the display to full brightness but when it reverts to Auto Mode, the setting is indeed set to Auto Mode but the display brightness remains at 100%. This is probably because the Auto Mode is "Adjust on Wake Only" at this point. If you turn the phone off and on, the display reverts to auto dynamic mode. Also, if you load the dashboard, the auto dynamic mode is also set.
What I have done as a workaround is to set a second exit task to load the app and this automatically sets the auto dynamic mode but I'd rather that the mode adjustment be achieved in the background.
Can you provide a feature in the plugin so that there are options which type of auto mode is activated? I suspect that currently, it is set to "Adjust on Wake" only.
I am on CM10.1 and Franco's kernel on a Nexus 4.