mirror of
				https://github.com/CCOSTAN/Home-AssistantConfig.git
				synced 2025-10-31 10:46:20 +00:00 
			
		
		
		
	Switch out TTS Polly for TTS Nabu Casa.
This commit is contained in:
		| @@ -55,21 +55,29 @@ speech_processing: | |||||||
|           {% if now().strftime('%H')|int < 12 and now().strftime('%H')|int > 6 %} |           {% if now().strftime('%H')|int < 12 and now().strftime('%H')|int > 6 %} | ||||||
|             0.3 |             0.3 | ||||||
|           {% elif now().strftime('%H')|int > 12 and now().strftime('%H')|int < 20 %} |           {% elif now().strftime('%H')|int > 12 and now().strftime('%H')|int < 20 %} | ||||||
|             0.5 |             0.3 | ||||||
|           {% else %} |           {% else %} | ||||||
|             0.3 |             0.3 | ||||||
|           {% endif %} |           {% endif %} | ||||||
|  |  | ||||||
|  |     # - service: tts.amazon_polly_say | ||||||
|  |     #   data: | ||||||
|  |     #     entity_id: media_player.livingroomCC | ||||||
|  |     #     message: >- | ||||||
|  |     #       <speak> | ||||||
|  |     #       <amazon:auto-breaths> | ||||||
|  |     #         {{ speech_message }} | ||||||
|  |     #       </amazon:auto-breaths> | ||||||
|  |     #       </speak> | ||||||
|  |     #     cache: true | ||||||
|  |  | ||||||
|     - service: tts.amazon_polly_say |     - service: tts.cloud_say | ||||||
|       data: |       data: | ||||||
|         entity_id: media_player.livingroomCC |         entity_id: media_player.livingroomCC | ||||||
|  |         options:  | ||||||
|  |           voice: JennyNeural | ||||||
|         message: >- |         message: >- | ||||||
|           <speak> |               {{ speech_message }} | ||||||
|           <amazon:auto-breaths> |  | ||||||
|             {{ speech_message }} |  | ||||||
|           </amazon:auto-breaths> |  | ||||||
|           </speak> |  | ||||||
|         cache: true |         cache: true | ||||||
|  |  | ||||||
|     - service: input_boolean.turn_off |     - service: input_boolean.turn_off | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user