Templating notification for battery status

I have a couple of zwave products running on batteries. I want to set up a notification service that notifies me when the batteries go below a certain level.
I’ve managed to set up a sensor for each unit. I’ve also set up the notification service itself.

What I struggle with is templating the notification to look something like this:
battery_sensor_XX is now at YY%, extracting the name of the sensor and the value.

Can anyone help me with the template code for that? I struggle with jinja2.

Please check my post on how I do it for Xiaomi sensors, as for sure you can adapt it for yourself:

Here is my sample - https://github.com/skalavala/smarthome/blob/master/packages/batteries.yaml