Octoprint filament change

My OctoPrint UI (Dashboard plug-in) shows me the time until there is a filament change.

Has anyone found a way to spot that in the HA integration or the MQTT one?

I want to be able to get a notification that a filament change is imminent so I can walk back to the printer to do that.