Just realized the stock slicing software has a text file that has documented the g-code and stuff from every print (over 1000 pages). And each print has a line in the end code...

“M140 S0. ;heated bed heater off (if you have it)”

Not sure if this helps