mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-20 20:56:44 +00:00
This is the current config. Moved old to the v1-config branch
This commit is contained in:
14
scripts/test_tts.yaml
Normal file
14
scripts/test_tts.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
test_tts:
|
||||
sequence:
|
||||
- service: tts.google_say
|
||||
data_template:
|
||||
entity_id: media_player.hass_speaker
|
||||
message: >
|
||||
{% if now().strftime("%H")|int < 12 %}
|
||||
Good morning
|
||||
{% elif now().strftime("%H")|int < 18 %}
|
||||
Good afternoon
|
||||
{% else %}
|
||||
Good evening
|
||||
{% endif %}
|
||||
This is simply a test of google's text to speech platform
|
Reference in New Issue
Block a user