Rename functions to modules. Update README

This commit is contained in:
2020-03-08 14:40:28 +02:00
parent dac12b0e85
commit d46ca41362
7 changed files with 14 additions and 1 deletions
+16
View File
@@ -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') }}"