I have a coupple of Chromecast Audios (CCA), where I use 2 different phones to cast from.
I want to set a volume every time I start casting, so I have the same volume to start with, no matter what the CCA was left at.
I can set the volume with the automation, but if I change the volume, using one of the phones, later, the volume jumps back to the defined value in the automation.
What is wrong?
- alias: Stue amp on
description: ''
trigger:
- entity_id: media_player.stue
platform: state
condition:
- condition: state
entity_id: media_player.stue
state: playing
action:
- entity_id: media_player.stue
service: media_player.volume_set
data:
volume_level: 0.5