Help with basic JSON

I am migrating to the “new” automation tool in the UI and need some basic help with the Service data field.

In some of my automations I use the actual value of an sensor, but when I am trying to paste that text into the service data field it do not work,

    - service: notify.ios_iphone_7_plus
        message: >
             Det är {{ states("sensor.temp_ute") }} grader ute

Anyone can help me to move forward?

I found the solution

  "message": "The time is {{ states.sensor.time.state }}"