Modified TTS automations to use the now properly working picotts with esphome.
This commit is contained in:
parent
ac907aad64
commit
4e91c0e7f5
@ -115,8 +115,9 @@
|
|||||||
data:
|
data:
|
||||||
title: 420!
|
title: 420!
|
||||||
message: Lodere es, Lustknabe.
|
message: Lodere es, Lustknabe.
|
||||||
- service: tts.google_translate_say
|
- service: tts.picotts_remote_say
|
||||||
data:
|
data:
|
||||||
|
cache: true
|
||||||
entity_id: media_player.raspiaudio_muse_luxe
|
entity_id: media_player.raspiaudio_muse_luxe
|
||||||
message: 4 20 Lodere es, Lustknabe.
|
message: 4 20 Lodere es, Lustknabe.
|
||||||
mode: single
|
mode: single
|
||||||
@ -377,44 +378,6 @@
|
|||||||
- service: wake_on_lan.send_magic_packet
|
- service: wake_on_lan.send_magic_packet
|
||||||
data:
|
data:
|
||||||
mac: a8:23:fe:5d:4c:f8
|
mac: a8:23:fe:5d:4c:f8
|
||||||
- id: '1661194740297'
|
|
||||||
alias: Stundenansage
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: time_pattern
|
|
||||||
hours: '*'
|
|
||||||
minutes: '0'
|
|
||||||
condition:
|
|
||||||
- condition: time
|
|
||||||
after: 07:00:00
|
|
||||||
before: '23:55:00'
|
|
||||||
weekday:
|
|
||||||
- sun
|
|
||||||
- sat
|
|
||||||
- fri
|
|
||||||
- thu
|
|
||||||
- wed
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
action:
|
|
||||||
- service: media_player.play_media
|
|
||||||
target:
|
|
||||||
entity_id: media_player.raspiaudio_muse_luxe
|
|
||||||
data:
|
|
||||||
media_content_id: media-source://tts/picotts_remote?message=Es+ist+%7B%7B+time.now%28%29+%7D%7D+Uhr.
|
|
||||||
media_content_type: provider
|
|
||||||
metadata:
|
|
||||||
title: Es ist {{ time.now() }} Uhr.
|
|
||||||
thumbnail: https://brands.home-assistant.io/_/picotts_remote/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/picotts_remote?message=Es+ist+%7B%7B+time.now%28%29+%7D%7D+Uhr.
|
|
||||||
mode: single
|
|
||||||
- id: '1670088470265'
|
- id: '1670088470265'
|
||||||
alias: Licht beim Heimkommen einschalten (XMas)
|
alias: Licht beim Heimkommen einschalten (XMas)
|
||||||
description: Nur während Dunkelphase
|
description: Nur während Dunkelphase
|
||||||
@ -475,3 +438,26 @@
|
|||||||
type: select_option
|
type: select_option
|
||||||
option: X-Mas
|
option: X-Mas
|
||||||
mode: single
|
mode: single
|
||||||
|
- id: '1675778284738'
|
||||||
|
alias: Stündliche Zeitansage
|
||||||
|
description: ''
|
||||||
|
trigger:
|
||||||
|
- platform: time_pattern
|
||||||
|
minutes: '0'
|
||||||
|
seconds: '0'
|
||||||
|
hours: '*'
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: person.marcus_scholz
|
||||||
|
state: home
|
||||||
|
action:
|
||||||
|
- service: tts.picotts_remote_say
|
||||||
|
data:
|
||||||
|
cache: true
|
||||||
|
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. Es ist gerade {{states.weather.zuhause.state}}
|
||||||
|
in Münster am {{states.sensor.date.state}} um {{states.sensor.time.state}}
|
||||||
|
|
||||||
|
'
|
||||||
|
mode: single
|
||||||
|
Loading…
Reference in New Issue
Block a user