-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathscripts.yaml
68 lines (58 loc) · 1.76 KB
/
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
############ GOOGLE REPORTS ############
google_pool_temp:
alias: "Pool Temperature"
sequence:
- service: tts.google_say
entity_id:
- media_player.living_room_speaker
- media_player.backyard_speaker
data_template:
message: 'The pool temperature is {{ states("sensor.converted_pool_temp") }} degrees'
cache: false
google_internet_speed:
alias: "Internet Speed"
sequence:
- service: tts.google_say
entity_id: media_player.living_room_speaker
data_template:
message: 'The current download speed is {{ states("sensor.speedtest_download") }} mega bits per second'
cache: false
############ LOCATION ############
google_chelsea_location:
alias: "Chelsea Location"
sequence:
- service: tts.google_say
entity_id: media_player.living_room_speaker
data_template:
message: 'Chelsea is {{ states("person.chelsea") }} right now'
cache: false
google_patrick_location:
alias: "Patrick Location"
sequence:
- service: tts.google_say
entity_id: media_player.living_room_speaker
data_template:
message: 'Patrick is {{ states("person.patrick") }} right now'
cache: false
############ ALARM SYSTEM ############
flash_livingroom:
alias: Flash Livingroom
sequence:
- service: light.turn_on
data_template:
entity_id: light.livingroom
color_name: "red"
- delay: '00:00:01'
- service: light.turn_off
data:
entity_id: light.livingroom
- service: script.turn_on
data:
entity_id: script.flash_loop
flash_loop:
alias: Flash loop
sequence:
- delay: '00:00:01'
- service: script.turn_on
data:
entity_id: script.flash_livingroom