Move Assist things to regular packages due to filename conflicts

This commit is contained in:
2023-07-20 15:53:53 -04:00
parent 9c9c4b5f50
commit 64607570f1
11 changed files with 54 additions and 47 deletions

18
packages/computers.yaml Normal file
View File

@ -0,0 +1,18 @@
intent_script:
BootComputers:
action:
service: "script.{{person}}_{{action}}"
speech:
text: >
{% if person == "tony_desktop" %}
{% set computer = "tony's computer" %}
{% elif person == "tina_desktop" %}
{% set computer = "tina's computer" %}
{% elif person == "kallen_desktop" %}
{% set computer = "collin's computer" %}
{% endif %}
{% if action == "wake" %}
{{ computer }} is now booting up
{% elif action == "shutdown" %}
{{ computer }} is shutting down
{% endif %}