Best way to send randomised messages using tts?

Hi everyone.
I would like to send a randomised message on tts, from a list of entries.

For example:

‘Did you know that you can do… etc’
‘The weather today is …’
‘There are x people in the house…’
‘The temperature currently is…’
etc

What would be the best way to do that, assuming the list is say maybe 10-20 entries ?

Thanks all

Off the top of my head Something like this should work…I think!

action:
  - service: tts.google_say
    entity_id: media_player.speaker
    data_template:
      message: '{{ [ "Message 1. " , "Message 2. " , "Message 3. " , "Message 4. " , "Message 5. " , 
      "Message 6. " ] |random }}'

Since the messages need to be holding some information, I would use the example template above to put out script entities, and then call the script that emerges. Then you can always use the invividual message scripts in other automations too.

It seems to work only if i remove the data_template. Many thanks.
Now if i could pull a random quote from somewhere like a fortune MOTD that would be even better :slight_smile: