when using this: message: "Testing {{Pause=4500}} test"
I get the following error in the logs.
[homeassistant.components.homeassistant] Invalid config for [automation]: invalid template (TemplateSyntaxError: expected token ‘end of print statement’, got ‘=’) for dictionary value @ data[‘action’][6][‘data_template’][‘message’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 18). Please check the docs at https://home-assistant.io/components/automation/
This works for me
Decreasing the volume to 50%, speacking with a pause 2s and restoring the volume to 80%
- data: entity_id: all volume_level: 0.5 service: media_player.volume_set - data: language: es message: first text. entity_id: all service: tts.google_say - delay: '2' - data: language: es message: Second text entity_id: all service: tts.google_say - data: entity_id: all volume_level: 0.8 service: media_player.volume_set
Yes it’s possible using Google. You can use an exclamation mark or question mark for a long pause. For a short pause, a comma or many other punctuation marks will do that.