-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.yaml
executable file
·126 lines (104 loc) · 2.6 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# *****************************************************************************
# System actions
# *****************************************************************************
restart_ha:
alias: Restart server
sequence:
- alias: Restart HA
service: homeassistant.restart
reload_automations:
alias: Reload automations
sequence:
- alias: Reload Automations
service: automation.reload
reload_core_config:
alias: Reload core config
sequence:
- alias: Reload core config
service: homeassistant.reload_core_config
# *****************************************************************************
# Reset homekit
# *****************************************************************************
homekit_reset:
alias: Homekit reset
sequence:
- alias: Homekit reset
service: shell_command.reset_homekit
homekit_start:
alias: Homekit start
sequence:
- alias: Homekit start
service: homekit.start
# *****************************************************************************
# App Daemon commands
# *****************************************************************************
appdaemon_test:
alias: App Daemon debug
sequence:
- event: APP_TEST
event_data:
arg1: 33
kpcc_toggle:
alias: KPCC Toggle
sequence:
- event: TOGGLE_KPCC
event_data:
arg1: 22
kpcc_toggle_downstairs:
alias: KPCC Toggle Downstairs
sequence:
- event: TOGGLE_KPCC_DOWNSTAIRS
event_data:
arg1: 22
morning_lights:
alias: Morning lights
sequence:
- event: MORNING_LIGHTS
event_data:
arg: none
evening_lights:
alias: Evening lights
sequence:
- event: EVENING_LIGHTS
event_data:
arg: none
bedtime_lights:
alias: Bedtime lights
sequence:
- event: BEDTIME_LIGHTS
event_data:
arg: none
reading_lights:
alias: Reading lights
sequence:
- event: READING_LIGHTS
event_data:
arg: none
zero_lights:
alias: Zero lights
sequence:
- event: ZERO_LIGHTS
event_data:
arg: none
patio_lights_toggle:
alias: Patio lights toggle
sequence:
- event: PATIO_LIGHTS_TOGGLE
event_data:
arg: none
everything_off:
alias: Everything off
sequence:
- event: EVERYTHING_OFF
event_data:
arg: none
# *****************************************************************************
# Mqtt commands
# *****************************************************************************
trigger_mqtt:
alias: MQTT test
sequence:
- service: mqtt.publish
data:
topic: mqtt/test
payload: on