Flashlight toggling broke with Epicardium 1.10
Prior to 1.10 setting the flashlight worked perfectly with
import leds
leds.set_flashlight(True)
leds.set_flashlight(False)
Now, with version 1.10. the flashlight does not turn off any more. As MWE you can try:
import leds
leds.set_flashlight(False)
… which actually turns on the flashlight.