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.