What is the problem?
Hotend stays on after print is finished but octoprint says 99% done. I was printing from SD card and not from octoprint directly.
What did you already try to solve it?
Check end GCODE to confirm that M104 S0 and M140 S0 are present. They are present in the .gcode file.
Have you tried running in safe mode?
I have not, but this issue didn't occur without octoprint connected to the printer
Did running in safe mode solve the problem?
serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support! Not log excerpts, complete logs.)
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible