Fixed Raspiaudio for ESPHome 2023.4.x.
This commit is contained in:
@@ -82,12 +82,12 @@
|
||||
message: Gute Nacht!
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.raspiaudio_muse_luxe
|
||||
entity_id: media_player.raspiaudio_muse_luxe_player
|
||||
data:
|
||||
media_content_id: media-source://tts/picotts_remote?message=Gute+Nacht%21+Schlaf+gut.
|
||||
media_content_id: media-source://tts/picotts_remote?message=Gute+Nacht%2C+schlaf+gut.
|
||||
media_content_type: provider
|
||||
metadata:
|
||||
title: Gute Nacht! Schlaf gut.
|
||||
title: Gute Nacht, schlaf gut.
|
||||
thumbnail: https://brands.home-assistant.io/_/picotts_remote/logo.png
|
||||
media_class: app
|
||||
children_media_class:
|
||||
@@ -96,7 +96,7 @@
|
||||
- media_content_type: app
|
||||
media_content_id: media-source://tts
|
||||
- media_content_type: provider
|
||||
media_content_id: media-source://tts/picotts_remote?message=Gute+Nacht%21+Schlaf+gut.
|
||||
media_content_id: media-source://tts/picotts_remote?message=Gute+Nacht%2C+schlaf+gut.
|
||||
- service: media_player.turn_off
|
||||
target:
|
||||
area_id:
|
||||
@@ -159,6 +159,12 @@
|
||||
- service: light.turn_on
|
||||
target:
|
||||
device_id: 68868390eda35e969ec60a13020f2407
|
||||
data: {}
|
||||
- service: tts.picotts_remote_say
|
||||
data:
|
||||
cache: true
|
||||
entity_id: media_player.raspiaudio_muse_luxe
|
||||
message: Ab ins Bett! Schlafenszeit!
|
||||
mode: single
|
||||
- id: '1623954512941'
|
||||
alias: Licht im Schlafzimmer zum Aufwachen einschalten
|
||||
@@ -450,14 +456,22 @@
|
||||
- condition: state
|
||||
entity_id: person.marcus_scholz
|
||||
state: home
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
state: sleep_tracking_stopped
|
||||
- condition: state
|
||||
entity_id: input_text.sleep_as_android
|
||||
state: alarm_alert_dismiss
|
||||
action:
|
||||
- service: tts.picotts_remote_say
|
||||
data:
|
||||
cache: true
|
||||
entity_id: media_player.raspiaudio_muse_luxe
|
||||
entity_id: media_player.raspiaudio_muse_luxe_player
|
||||
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}}
|
||||
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}}
|
||||
|
||||
'
|
||||
mode: single
|
||||
|
Reference in New Issue
Block a user