-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
153 lines (153 loc) · 3.55 KB
/
automations.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
- action:
- data:
message: The sauna is ready for use :) The temp is now {{ states.sensor.sauna.state
| round(1) }} °C
title: Sauna ready ({{ states.sensor.sauna.state | round(1) }} °C)
service: notify.push_message
alias: Sauna ready
condition: []
id: '1510330573942'
trigger:
- above: '55'
entity_id: sensor.sauna
platform: numeric_state
- id: '1510575361424'
alias: External Lights on
trigger:
- event: sunset
platform: sun
condition: []
action:
- data:
entity_id: switch.rfx_GarageExtLights
service: homeassistant.turn_on
- id: '1510575855987'
alias: External Lights off
trigger:
- event: sunrise
platform: sun
condition: []
action:
- data:
entity_id: switch.rfx_GarageExtLights
service: homeassistant.turn_off
- id: '1510576457365'
alias: Livingroom lights off with tv
trigger:
- entity_id: media_player.samsung_led60_ue60f6300
from: 'on'
platform: state
to: 'off'
condition:
- after: '21:00'
condition: time
action:
- data:
entity_id: switch.rfx_new1
service: homeassistant.turn_off
- data:
entity_id: switch.rfx_new2
service: homeassistant.turn_off
- data:
entity_id: switch.rfx_new3
service: homeassistant.turn_off
- action:
- data:
mac: 4C:E6:76:6D:53:81
service: wake_on_lan.send_magic_packet
alias: NAS
condition:
- condition: state
entity_id: input_boolean.nas_wol
state: 'on'
id: '1511554586438'
trigger:
platform: time_pattern
minutes: /1
seconds: /30
- id: '1518799968022'
alias: Childrens cameras off
trigger:
- at: '9:00'
platform: time
- at: '16:00'
platform: time
condition: []
action:
- data:
entity_id: switch.telldus_tzwp100_plugin_switch_switch
service: homeassistant.turn_off
- data:
entity_id: switch.rfx_new6
service: homeassistant.turn_off
- id: '1518800302919'
alias: Childrens cameras on
trigger:
- at: '20:00'
platform: time
- at: '12:30'
platform: time
condition: []
action:
- data:
entity_id: switch.rfx_new6
service: homeassistant.turn_on
- data:
entity_id: switch.telldus_tzwp100_plugin_switch_switch
service: homeassistant.turn_on
- action:
- data:
data:
sound: siren
message: Garage getting too cold! The temp is now {{ states.sensor.garage.state
| round(2) }} °C
title: Garage getting too cold! ( {{ states.sensor.garage.state | round(1) }}
°C)
service: notify.push_message
alias: Garage temp varning
condition: []
id: '1519565910987'
trigger:
- below: '4'
entity_id: sensor.garage
platform: numeric_state
- action:
- data:
data:
sound: none
message: Garage temp is ok. The temp is now {{ states.sensor.garage.state |
round(1) }} °C
title: Garage temp OK! ( {{ states.sensor.garage.state | round(1) }} °C)
service: notify.push_message
alias: Garage temp ok
condition: []
id: '1519567080702'
trigger:
- above: '7'
entity_id: sensor.garage
platform: numeric_state
- id: '1535654356509'
alias: Office Pc ON via Dummy switch
trigger:
- entity_id: switch.rfx_new4
from: 'off'
platform: state
to: 'on'
condition: []
action:
- alias: ''
data:
entity_id: switch.rfx_old1
service: switch.turn_on
- id: '1535654827705'
alias: Office Pc OFF via Dummy switch
trigger:
- entity_id: switch.rfx_new4
from: 'on'
platform: state
to: 'off'
condition: []
action:
- data:
entity_id: switch.rfx_old1
service: switch.turn_off