I have a bunch of flood sensors that I used use the following format for in a message to mobile notify but the cell phone device name changed on one of the updates and now it’s a little different. I used this format to tell the cell phone which sensor caused the alert like this:
data_template:
message: >-
water detected by {{ trigger.to_state.attributes.friendly_name }}!, state is
{{ trigger.to_state }}
What would be the “new” way? Does it go in the data field? I assumed yes