Message malformed: extra keys not allowed @ data['action'][0]['message']

I added the data: section as a parent to the message:. I switched from the UI to YAML mode. When I first switched to YAML mode, it was setup like this. I moved my message to the second message: line and deleted the first. Then I was able to save the automation without and error. About to check if it actually works now.

service: notify.notify
message: Front Door Opened
data:
  message: