The service runs and I can double check from entities state that the volume attribute has been adjusted accordingly. Here is a screenshot for your reference.
One potential solution to this problem would be to use the media_player.volume_set service in the same automation that is used to trigger the tts.cloud_say service. This way, the volume level can be set before the message is played, ensuring that the correct volume is used.
I confirmed with you that is been used to the same automation. Like the following
- ......
- data:
volume_level: 0.4
service: media_player.volume_set
target:
entity_id:
- media_player.e573a061_4437bb43
- service: tts.cloud_say
data:
entity_id: media_player.e573a061_4437bb43
message: Η κεντρική θέρμανση έσβησε αυτόματα.
language: el-GR
alias: Μήνυμα στα Ελληνικά στο tablet της Σοφίτας
I first adjust volume level and then at the next action I use cloud.say.
It seems that the volume level (which has been adjusted) is not considered and cloud.say TTS plays at 100% volume.
Please put a delay between the action of setting the volume and sending the message. This will allow time to correctly set volume before executing the send of the message string.
Where the value in the entity_id & volume_level defined variable(s). i.e. sonos_entity & volume, should be the same naming as the data you are passing.
Hi! Did you figure out the problem? I am facing the same problem with my Google Nest Minis. Everything with tts.cloud_say is 100%.
Did you find a solution?
I don’t know exactly why, but at least I know the cause now. The Google Home Resume Script seems to be the cause of the problems. I deactivated automation.00_google_home_automatic_resume. I guess something will not work with that script anymore, but so far it seems to be still working and the volume works!