jeppper
(Jeppper)
1
I want to set source and volume for my sonos in a scene and i have tried this
scene:
- name: Musik
entities:
media_player.stue:
source: Retro Radio
volume_level: 0.4
Have also tried volume_set.
Setting source Works fine but nothing happens to the volume. What is the right syntax?
cgtobi
(Tobi)
2
This is how my automation looks for setting the volume:
action:
- service: media_player.volume_set
data_template:
entity_id: media_player.wohnzimmer
volume_level: 0.14
But in scenes it might be a little different.
Actually, did you try setting only the volume instead of doing it combined with the source?
jeppper
(Jeppper)
3
Now I have tried only volume_level: 0.4 and it Works fine alone.
So I guess there must some other way the scene should be defined…
jeppper
(Jeppper)
4
my scene looks like this:
scene:
- name: Musik
entities:
media_player.kkken:
volume_level: 0.1
source: Retro Radio
Only one of the two Things happen. If I # one of the lines it Works fine,
Someone know how to write the syntax instead?
cgtobi
(Tobi)
5
Did you try something like this?
scene:
- name: Musik
entities:
media_player.kkken:
volume_level: 0.1
media_player.kkken:
source: Retro Radio
jeppper
(Jeppper)
6
yes tried this and something like it but it returns an error. :-/