First adventures into the world of Assist

This commit is contained in:
2023-07-19 21:55:39 -04:00
parent ae1675216f
commit dd8fef251c
4 changed files with 90 additions and 0 deletions

View File

@ -0,0 +1,34 @@
language: "en"
intents:
BootComputers:
data:
- sentences:
- "{action} the computer for {person}"
- "{action} {person}'s computer"
lists:
person:
values:
- in: "tony"
out: "tony_desktop"
- in: "tina"
out: "tina_desktop"
- in: "christina"
out: "tina_desktop"
- in: "kallen"
out: "kallen_desktop"
- in: "collin"
out: "kallen_desktop"
action:
values:
- in: "boot"
out: "wake"
- in: "boot up"
out: "wake"
- in: "turn on"
out: "wake"
- in: "shut down"
out: "shutdown"
- in: "turn off"
out: "shutdown"

View File

@ -0,0 +1,22 @@
language: "en"
intents:
SetVolume:
data:
- sentences:
- "(set|change) {media_player} volume to {volume} [percent]"
- "(set|change) [the] volume for {media_player} to {volume} [percent]"
lists:
media_player:
values:
- in: "living room tv"
out: "media_player.living_room_tv"
- in: "basement tv"
out: "media_player.basement_tv"
- in: "master bedroom tv"
out: "media_player.master_bedroom_firetv"
volume:
range:
from: 0
to: 100

View File

@ -0,0 +1,7 @@
language: "en"
responses:
intents:
HassTurnOn:
default: "I have turned on the {{ slots.name }}"
HassTurnOff:
default: "I have turned off the {{ slots.name }}"