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: target:
entity_id: media_player.raspiaudio_muse_luxe entity_id: media_player.raspiaudio_muse_luxe
data: data:
media_content_id: '' media_content_id: media-source://tts/tts.piper?message=Gute+Nacht%2C+schlaf+gut.
media_content_type: '' media_content_type: provider
metadata: {} 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 - service: media_player.turn_off
target: target:
area_id: area_id:
@ -150,11 +160,13 @@
target: target:
device_id: 68868390eda35e969ec60a13020f2407 device_id: 68868390eda35e969ec60a13020f2407
data: {} data: {}
- service: tts.picotts_remote_say - service: tts.speak
data: data:
cache: true cache: true
entity_id: media_player.raspiaudio_muse_luxe media_player_entity_id: media_player.raspiaudio_muse_luxe
message: Ab ins Bett! Schlafenszeit! message: Ab ins Bett, Schlafenszeit.
target:
entity_id: tts.piper
mode: single mode: single
- id: '1623954512941' - id: '1623954512941'
alias: Licht im Schlafzimmer zum Aufwachen einschalten alias: Licht im Schlafzimmer zum Aufwachen einschalten
@ -455,13 +467,15 @@
entity_id: input_text.sleep_as_android entity_id: input_text.sleep_as_android
state: alarm_alert_dismiss state: alarm_alert_dismiss
action: action:
- service: tts.picotts_remote_say - service: tts.speak
data: data:
cache: true 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'' 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}} 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}} Grad Celsius und es ist {{states.sensor.time.state}}
' '
target:
entity_id: tts.piper
mode: single mode: single