Issue with Toya plugin Gcode not turning off printer

Continuing the discussion from Any TuyaSmartplug users here? - unknown command:

I'm having exactly the same issue with the Toya plugin, the button in the ui works 100% but @TUYAOFF 10.1.1.73 in the End G Code isn't working and M81 10.1.1.73 also isn't working but the little lightning bolt in the UI works perfectly.