diff --git a/packages/assist.yaml b/packages/assist/computers.yaml similarity index 70% rename from packages/assist.yaml rename to packages/assist/computers.yaml index bfb42c5..80ed534 100644 --- a/packages/assist.yaml +++ b/packages/assist/computers.yaml @@ -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}}" diff --git a/packages/assist/media.yaml b/packages/assist/media.yaml new file mode 100644 index 0000000..e1de06b --- /dev/null +++ b/packages/assist/media.yaml @@ -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 }}"