OctoPrint/OctoPrint-MQTT

100% progress message publishes twice.

a1b0hph0b1a opened this issue · 0 comments

When the print is finished, the 100% progress message publishes twice in quick succession. For example...

Ender3/progress/printing {"location": "local", "path": "filename.gcode", "progress": 100, "_timestamp": 1655391757}
Ender3/progress/printing {"location": "local", "path": "filename.gcode", "progress": 100, "_timestamp": 1655391757}

Is there any way to turn this action off (i.e. only have 1 message)? I'm trying to detect finished prints without having all printer events publishing (i.e. without the /events/PrintDone message).

Many thanks in advance.