Template for Select entity : valid configuration for "options"?

I am struggling at templating a Select entity, I was expecting the “options” to be a list of options like :

    options:
      - "Option 1"
      - "Option 2"
      - "Option 3"

But according to the documentation it should be a template/string. What do I miss ?

Thanks a lot in advance

ok I found out, if someone else is interested :

    options: |-
      {{ ['Option 1', 'Option 2', 'Option 3'] }}

Cheers

1 Like