Adding a sensor result to to a notify.notifcation

at the moment I have a notification what is send to my phone eveyrtime my automation is ran, informing me that the automation has finished, but I would like add a sensor results to the message so that I know the total of my SOC

I have looked around but I can’t find the right command, could someone please point me in the right direction. — Thanks

How to make notifications more informative