Is it possible to set a volume for tts.cloud_say?
I would first like to play an effect and then output a notification via tts.cloud_say in a defined language.
I have set a volume but surprisingly the effect is played back in the same way but not the notification via tts.cloud_say
I have not yet found a way to play tts.cloud_say in a defined volume.
action:
- service: sonos.snapshot
metadata: {}
data:
with_group: true
entity_id: media_player.soundbar
- service: media_player.volume_set
metadata: {}
data:
volume_level: 0.14
target:
device_id: 034dd1cf36cdb33b99f10563c6661fa3
- service: media_player.play_media
metadata:
title: effect-for-logo-intro-186595.mp3
thumbnail: null
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://media_source
data:
media_content_id: media-source://media_source/local/effect-for-logo-intro-186595.mp3
media_content_type: audio/mpeg
target:
entity_id: media_player.soundbar
enabled: true
- delay:
hours: 0
minutes: 0
seconds: 4
milliseconds: 0
- service: tts.cloud_say
metadata: {}
data:
entity_id: media_player.soundbar
message: 早晨,今日將係美好嘅一日。
language: zh-HK
enabled: true
- service: sonos.restore
metadata: {}
data:
with_group: true
entity_id: media_player.soundbar