Changed my mind on how to organize files for Assist
This commit is contained in:
@ -1,13 +1,4 @@
|
||||
intent_script:
|
||||
SetVolume:
|
||||
action:
|
||||
service: "media_player.volume_set"
|
||||
data:
|
||||
entity_id: "{{ media_player }}"
|
||||
volume_level: "{{ volume / 100.0 }}"
|
||||
speech:
|
||||
text: "Volume changed to {{ volume }}"
|
||||
|
||||
BootComputers:
|
||||
action:
|
||||
service: "script.{{person}}_{{action}}"
|
9
packages/assist/media.yaml
Normal file
9
packages/assist/media.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
intent_script:
|
||||
SetVolume:
|
||||
action:
|
||||
service: "media_player.volume_set"
|
||||
data:
|
||||
entity_id: "{{ media_player }}"
|
||||
volume_level: "{{ volume / 100.0 }}"
|
||||
speech:
|
||||
text: "Volume changed to {{ volume }}"
|
Reference in New Issue
Block a user