Annoyingly as you point out, right now I don't think there is a way to do this directly - however normally turning the light off is controlled by the backlight timeout, so I think your solution is probably the best one for the moment...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Annoyingly as you point out, right now I don't think there is a way to do this directly - however normally turning the light off is controlled by the backlight timeout, so I think your solution is probably the best one for the moment...