Auto save graph as png

Does anyone know of a way of autosaving home assistant history graph as a png?

I have a ESP32 S3 Box and I use that to display my energy usage/ solar generation. The only thing I am missing is a solar forecast graph for the day. I have looked at ESPHOME’s graph component but I don’t see how can I plot forecast data with that where all the data is saved as attributes.
If there was a way to save that graph as PNG then I could use this: https://github.com/esphome/esphome/pull/4710

Thanks

Nope. If there was a way to do this we could send graph snapshots in notifications too.