Script TTS

Hi all,
My script was working well and all of a sudden Google decides to read it out rather than getting the sensor values.
“open curly bracket sensor dot states” etc etc

Works fine in the templates part of Home Assistant

Any ideas?

  sequence:
      - service: tts.google_say
        entity_id: media_player.home_mini
        data:
          message: "Outside is {{states('sensor.outside_temperature') | round}} degrees"

Change ‘data’ to ‘data_template’.