# Good morning/afternoon/evening service: tts.google_translate_say data: message: >- '{% if now().strftime('%H')|int < 12 and now().strftime('%H')|int > 4 %} Good morning {% elif now().strftime('%H')|int >= 12 and now().strftime('%H')|int < 16 %} Good afternoon {% else %} Good evening {% endif %} # Time of day service: tts.google_translate_say data: message: The current time is {{ now().strftime('%I %M %p') }}