I have a script that runs when my washing machine stops runnings. I have not been able to get the volume to stick at 40% when the announcement occurs. When it connects to my Google Home Group to announce on all speakers, they all set themselves to 75% Below is the code. Any help would be welcomed.
alias: Washing Machine Timer Done with TTS
triggers:
event_type: timer.finished
event_data:
entity_id: timer.washing_machine_timer
trigger: event
actions:
data:
message: Your washing machine cycle is complete!
action: notify.mobile_app_caddys_iphone
target:
entity_id: media_player.front_group_2
data:
volume_level: 0.4
action: media_player.volume_set
action: tts.cloud_say
data:
cache: false
entity_id: media_player.front_group_2
message: The washing machine has completed its cycle. Please remove the laundry.