Bug report on the enclosure fan and LED with Snapmaker Firmware 1.12.0

You could do this by gcode M1010