forked from tchiavegatti/HomeAssistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.yaml
116 lines (98 loc) · 3.73 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
#https://home-assistant.io/components/script/
####################################################
# #
# NORMAL LIGHT #
# #
####################################################
normallight:
sequence:
- service: light.turn_on
entity_id: light.yeelightrgb2
data:
brightness: 254
color_temp: 336.02150537634407
####################################################
# #
# RECEIVER VOLUME UP #
# #
####################################################
volumeup:
alias: Volume Up
sequence:
- service: homeassistant.turn_on
entity_id: switch.receivervolup
- service: homeassistant.turn_on
entity_id: switch.receivervolup
- service: homeassistant.turn_on
entity_id: switch.receivervolup
- service: homeassistant.turn_on
entity_id: switch.receivervolup
- service: homeassistant.turn_on
entity_id: switch.receivervolup
- service: homeassistant.turn_on
entity_id: switch.receivervolup
####################################################
# #
# RECEIVER VOLUME DOWN #
# #
####################################################
volumedown:
alias: Volume Down
sequence:
- service: homeassistant.turn_on
entity_id: switch.receivervoldwn
- service: homeassistant.turn_on
entity_id: switch.receivervoldwn
- service: homeassistant.turn_on
entity_id: switch.receivervoldwn
- service: homeassistant.turn_on
entity_id: switch.receivervoldwn
- service: homeassistant.turn_on
entity_id: switch.receivervoldwn
- service: homeassistant.turn_on
entity_id: switch.receivervoldwn
####################################################
# #
# RESTART DOCKER CONTAINERS #
# #
####################################################
restart_hass:
sequence:
- service: shell_command.restart_hass
restart_unifi:
sequence:
- service: shell_command.restart_unifi
restart_mqtt:
sequence:
- service: shell_command.restart_mqtt
restart_hadockermon:
sequence:
- service: shell_command.restart_hadockermon
restart_portainer:
sequence:
- service: shell_command.restart_portainer
####################################################
# #
# Turn On Music #
# #
####################################################
music:
sequence:
- service: homeassistant.turn_on
entity_id: switch.receivervideo1
####################################################
# #
# Turn On TV #
# #
####################################################
tv:
sequence:
- service: homeassistant.turn_on
entity_id: switch.receivervideo2
- service: switch.turn_on
entity_id: switch.htpc_switch
####################################################
# #
# END OF CONFIGURATION FILE #
# #
####################################################