Hi,
I’ve got that automation :
- alias: Low Batteries Notifications
trigger:
- platform: numeric_state
entity_id:
- binary_sensor.door_sensor
- binary_sensor.motion_sensor
- binary_sensor.switch
value_template: "{{ state.attributes.battery_level }}"
below: '50'
action:
- service: notify.pushbullet
data_template:
title: "Low battery"
message: 'Something got a low battery'
Would you know how could I set the message of my notification to show the name of the sensor that got the low battery ?
This would be better than “‘Something got a low battery’”