Nexus 5: How to automatically toggle Live Display in Cyanogenmod 12.1 nightly at a specific time? I have a Nexus 5 with the last CyanogenMod nightly (12.1 20150917). I have a bug with the live display. Since the auto mode doesn't switch automatically, I have installed Automate, an app that uses the Android API to do tasks. 

To fix the bug, I would like to create a task to switch in the night mode at a specific time, but unfortunately, there isn't the Live Display in Automate. Is there a way to set the night mode through the terminal?
The Night mode set block should be able to toggle night mode.
There's no block for changing Live Display, but it might be possible to change the system settings for it, using the System setting set block, see @Firelord comment for the possible setting names and values.