I am not sure what I am doing wrong here but no matter how I try I can no longer get my notify service (which sends an email to my gmail account) to work with data_template to send the entity ID of what motion sensor was tripped.
This all started when I moved all my automation’s to the automations.yaml file so I can utilize the GUI. I keep getting block mapping errors when I take out data and just use data_template or the expected dict for dictionary value error and the last one I get is invalid service data for notify.gmail extra keys not allowed.
Can someone provide an example of a working automation with the notify service which includes data_template? As an fyi all my other automations are working properly.