Integrating Temperature History Graphs into Notifications - Any Tips?

Hi everyone, I’m trying to enhance my home automation setup by integrating a temperature history graph into my email notifications. I’ve successfully set up a notification system that includes temperature data, but now I want to visualize this data over time. I use the same graph on my Lovelace UI, and it would be fantastic to have this in my notifications as well.

Here’s what I’ve tried so far: I attempted to modify my existing notification automation to include the history graph. I included the necessary entities, set the time frame, and specified the graph type, but unfortunately, it didn’t work. I’m not very confident in my programming skills, so I might be missing something obvious.

I also have a secondary question: is there a way to set minimum and maximum temperature values for one of my sensors? This would help in monitoring and alerting when temperatures go out of range.

If anyone has experience with integrating graphs into notifications or setting temperature thresholds, I’d greatly appreciate your insights or suggestions. I’m eager to learn and improve my setup!

Looking forward to hearing from you all. Let’s make this home automation project even smarter together! :thermometer::sparkles: