Coding issue for tests in speech system!

Hi

I’m implementing snips in my system to control and interact with voice for HA and have already done light control and now doing température question. I want to be able to select the temperature zone I want and so I have to make a selection in HA to know which zone was requested if any and talk back correct answer.
I tried something like that for a first test but it’s already wrong for syntax but can’t figure out what’s wrong ? or perhaps not possible this way ?

intent_script:
  Temperature:
    speech:
      type: plain
      text: "'Il fait', {{ states('sensor.{% if lieu == "Grenoble" %}grenoble_temperature{% endif %}') | round(0)}}, 'degrés'"

I was thinking to do in a similar way I did for lights zones:

  Allumage_Lumiere:
    speech:
      type: plain
      text: "{{(['Ok,','cet fait,','Bien sur,','Comme vous voulez,','Si tu insistes,','Comme tu veux,','A vos souhaits,','A votre bon vouloir,','ainsi soit-il,','A vos ordres,','Pas de problème,','Bien sur votre grandeur,']|random)}}"
    action:
      - service: switch.turn_on
        data_template:
          entity_id: switch.{% if site_id == "salon" %}salon_suspension{% elif site_id == "sdb" %}sdb_lumiere_2{% elif site_id == "cuisine" %}cuisine_plafonnier{% endif %}
  Extinction_Lumiere:
    speech:
      type: plain
      text: "{{(['Ok,','cet fait,','Bien sur,','Comme vous voulez,','Si tu insistes,','Comme tu veux,','A vos souhaits,','A votre bon vouloir,','ainsi soit-il,','A vos ordres,','Pas de problème,','Bien sur votre grandeur,']|random)}}"
    action:
      - service: switch.turn_off
        data_template:
          entity_id: switch.{% if site_id == "salon" %}salon_suspension{% elif site_id == "sdb" %}sdb_lumiere_2{% elif site_id == "cuisine" %}cuisine_plafonnier{% endif %}

Thanks

Vincèn