mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Rename functions to modules. Update README
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
script:
|
||||
music_play:
|
||||
alias: "Music - Play"
|
||||
sequence:
|
||||
- service: media_player.volume_set
|
||||
entity_id: media_player.master_bedroom
|
||||
data_template:
|
||||
volume_level: "{{ volume | default(0.3) }}"
|
||||
- service: media_player.shuffle_set
|
||||
entity_id: media_player.master_bedroom
|
||||
data_template:
|
||||
shuffle: "{{ shuffle | default(true) }}"
|
||||
- service: media_player.select_source
|
||||
entity_id: media_player.master_bedroom
|
||||
data_template:
|
||||
source: "{{ playlist | default('Evening Chill') }}"
|
||||
Reference in New Issue
Block a user