Migrated audio taunts to tts.speak with new piper TTS.

This commit is contained in:
Marcus Scholz 2023-05-04 11:50:04 +02:00
parent 7e64d92101
commit c2e409c21e

View File

@ -84,9 +84,19 @@
target:
entity_id: media_player.raspiaudio_muse_luxe
data:
media_content_id: ''
media_content_type: ''
metadata: {}
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
media_content_type: provider
metadata:
title: Gute Nacht, schlaf gut.
thumbnail: https://brands.home-assistant.io/_/tts/logo.png
media_class: app
children_media_class:
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://tts
- media_content_type: provider
media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
- service: media_player.turn_off
target:
area_id:
@ -150,11 +160,13 @@
target:
device_id: 68868390eda35e969ec60a13020f2407
data: {}
- service: tts.picotts_remote_say
- service: tts.speak
data:
cache: true
entity_id: media_player.raspiaudio_muse_luxe
message: Ab ins Bett! Schlafenszeit!
media_player_entity_id: media_player.raspiaudio_muse_luxe
message: Ab ins Bett, Schlafenszeit.
target:
entity_id: tts.piper
mode: single
- id: '1623954512941'
alias: Licht im Schlafzimmer zum Aufwachen einschalten
@ -455,13 +467,15 @@
entity_id: input_text.sleep_as_android
state: alarm_alert_dismiss
action:
- service: tts.picotts_remote_say
- service: tts.speak
data:
cache: true
entity_id: media_player.raspiaudio_muse_luxe
media_player_entity_id: media_player.raspiaudio_muse_luxe
message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag''
if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states.sensor.temperatur_aussen.state}}
Grad Celsius und es ist {{states.sensor.time.state}}
'
target:
entity_id: tts.piper
mode: single