File tree Expand file tree Collapse file tree 3 files changed +18
-52
lines changed Expand file tree Collapse file tree 3 files changed +18
-52
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,24 +20,13 @@ variables:
20
20
{% endif %}
21
21
22
22
sequence :
23
- - action : sonos.snapshot
24
- data :
25
- entity_id : " {{ sonos_group }}"
26
-
27
- - action : media_player.volume_set
28
- data :
29
- entity_id : " {{ sonos_group }}"
30
- volume_level : " 0.3"
31
-
32
23
- action : media_player.play_media
33
- data :
24
+ target :
34
25
entity_id : " {{ sonos_group }}"
26
+ data_template :
35
27
media_content_id : " {{ base_url }}/local/{{ audio_url }}"
36
28
media_content_type : music
37
-
38
- - delay : " {{ delay }}"
39
-
40
- - action : sonos.restore
41
- data :
42
- entity_id : " {{ sonos_group }}"
29
+ announce : true
30
+ extra :
31
+ volume : 15
43
32
Original file line number Diff line number Diff line change @@ -21,39 +21,27 @@ variables:
21
21
{% endif %}
22
22
23
23
sequence :
24
- - action : sonos.snapshot
25
- data_template :
26
- entity_id : " {{ sonos_group }}"
27
-
28
- - action : media_player.volume_set
29
- data_template :
30
- entity_id : " {{ sonos_group }}"
31
- volume_level : " 0.3"
32
-
33
24
- action : media_player.play_media
34
- data_template :
25
+ target :
35
26
entity_id : " {{ sonos_group }}"
27
+ data_template :
36
28
media_content_id : " {{ base_url }}/local/audio/chime01.mp3"
37
29
media_content_type : music
30
+ announce : true
31
+ extra :
32
+ volume : 15
38
33
39
34
- delay :
40
- seconds : 3
41
-
42
- - action : tts.speak
43
- data :
44
- cache : true
45
- media_player_entity_id : " {{ sonos_group }}"
46
- message : " {{ message }}"
47
- target :
48
- entity_id : tts.elevenlabs
49
-
50
- - delay : " {{ delay }}"
35
+ seconds : 2
51
36
52
- - action : media_player.media_stop
37
+ - action : media_player.play_media
53
38
target :
54
39
entity_id : " {{ sonos_group }}"
55
-
56
- - action : sonos.restore
57
40
data_template :
58
- entity_id : " {{ sonos_group }}"
41
+ # yamllint disable-line rule:line-length
42
+ media_content_id : media-source://tts/tts.elevenlabs?message="{{ message }}"&voice=Valentino
43
+ media_content_type : music
44
+ announce : true
45
+ extra :
46
+ volume : 20
59
47
You can’t perform that action at this time.
0 commit comments