-
Notifications
You must be signed in to change notification settings - Fork 13
/
intent_scripts.yaml
executable file
·80 lines (74 loc) · 2.77 KB
/
intent_scripts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
## type: plaintext causes it to fail
WhereAreWeIntent:
speech:
text: !include intent_templates/WhereAreWeIntent.yaml
LocateIntent:
speech:
text: !include intent_templates/LocateIntent.yaml
OverviewIntent:
speech:
text: !include intent_templates/OverviewIntent.yaml
itisyourbirthday:
speech:
text: !include intent_templates/birthday_wishes.yaml
NetworkIntent:
speech:
text: !include intent_templates/NetworkIntent.yaml
### called with What is my Network Status
housemodeintent:
speech:
text: The House is in {{states('sensor.house_mode_state')}} mode
MediaPlayerSourceIntent:
action:
- service: media_player.select_source
data_template:
entity_id: 'media_player.{{player|replace(" ", "_")|lower}}'
source: '{{source}}'
speech:
# type: plain
text: 'OK. Changing {{player}} to {{source}}'
KitchenIntent:
speech:
text: The Kitchen has a Temperature of {{states('sensor.kitchen_temperature')}}
degrees
HallwayIntent:
speech:
text: The Hallway has a Temperature of {{states('sensor.hallway_temperature')}}
degrees
LaundryroomIntent:
speech:
text: The Laundry Room has a Temperature of {{states('sensor.laundry_temperature')}}
degrees
KidsHallwayIntent:
speech:
text: The Kids Hallway has a Temperature of {{states('sensor.kids_hallway_temperature')}}
degrees
BatteryLevelsIntent:
speech:
text: The Kids Hallway Motion Sensor Battery level is {{states('sensor.motion_sensor_kids_hall_battery')}} percent and Kitchen Motion Sensor is {{states('sensor.motion_sensor_kitchen_battery')}} percent and the Hallway Battery Level is {{states('sensor.motion_sensor_hallway_battery')}} percent and the Laundry Room battery level is {{states('sensor.motion_sensor_laundry_battery')}} percent
ActivateSceneIntent:
action:
service: scene.turn_on
data_template:
entity_id: scene.{{ Scene | replace(" ", "_") }}
speech:
text: !include alexa_confirm.yaml
RunScriptIntent:
action:
service: script.turn_on
data_template:
entity_id: script.{{ Script | replace(" ", ".") }}
speech:
text: !include alexa_confirm.yaml
MailIntent:
speech:
text: You have {{states('sensor.usps_mail')}} pieces of mail in the mail box
smalltankIntent:
speech:
text: !include intent_templates/small_tank_intent.yaml
housetempIntent:
speech:
text: The House Temperature is {{states('sensor.house_avg_temperature')}} degrees
househumdityIntent:
speech:
text: The House Humidity is {{states('sensor.house_avg_humidity')}} percent