-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
193 lines (193 loc) · 5.5 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
- id: '1651411223240'
alias: SOMEWHERE Stove Turn on external Fan when Heating
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.SOMEWHERE_stove_pipe_temp
above: 275
- platform: numeric_state
entity_id: sensor.SOMEWHERE_stove_pipe_temp
below: 200
condition: []
action:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.SOMEWHERE_stove_pipe_temp
above: 225
sequence:
- type: turn_on
entity_id: switch.SOMEWHERE_stove_fan_socket_1
domain: switch
- service: switch.turn_on
data: {}
target:
entity_id: switch.SOMEWHERE_stove_fan_socket_1
- conditions:
- condition: numeric_state
entity_id: sensor.SOMEWHERE_stove_pipe_temp
below: 275
sequence:
- type: turn_off
entity_id: switch.SOMEWHERE_fan_socket_1
domain: switch
- service: switch.turn_off
data: {}
target:
entity_id: switch.house_stove_fan_socket_1
mode: single
- id: '1669959141194'
alias: SOMEWHERE Stove HVAC
description: Set temps and modes on a schedule
trigger:
- platform: time
at: 05:30:00
alias: '5:30'
- platform: time
at: '11:00:00'
alias: '11:00'
- platform: time
at: '23:30:00'
alias: '23:30'
condition: []
action:
- choose:
- conditions:
- condition: time
before: 06:00:00
after: 05:30:00
weekday:
- sat
- fri
- thu
- wed
- tue
- mon
- sun
alias: '@5:30'
- condition: numeric_state
entity_id: sensor.stove_current_temp_sensor_smoothed
below: 68
sequence:
- alias: Set Temp 71
service: climate.set_temperature
data:
temperature: 71
target:
entity_id:
- climate.SOMEWHERE_wood_pellet_stove
- alias: 'ECO2 '
service: select.select_option
data:
option: ECO2 - Px then P4
target:
entity_id:
- select.SOMEWHERE_eco_select
- alias: P4-Low
service: select.select_option
data:
option: P4-Low
target:
entity_id:
- select.SOMEWHERE_power_select
- conditions:
- condition: time
before: '11:30:00'
weekday:
- mon
- tue
- wed
- fri
- thu
alias: '@11:30'
after: '11:00:00'
sequence:
- alias: 70F
service: climate.set_temperature
data:
temperature: 70
target:
entity_id:
- climate.SOMEWHERE_wood_pellet_stove
- alias: ECO1
service: select.select_option
data:
option: ECO1 - Heat then OFF
target:
entity_id:
- select.SOMEWHERE_eco_select
- alias: P4-Low
service: select.select_option
data:
option: P4-Low
target:
entity_id:
- select.SOMEWHERE_power_select
- conditions:
- condition: time
before: '23:59:00'
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
after: '23:30:00'
alias: '23:30'
sequence:
- service: climate.set_temperature
data:
temperature: 66
target:
entity_id: climate.house_wood_pellet_stove
alias: set 64F
- alias: ECO1 - Heat then OFF
service: select.select_option
data:
option: ECO1 - Heat then OFF
target:
entity_id:
- select.SOMEWHERE_eco_select
- service: select.select_option
data:
option: P4-Low
target:
entity_id:
- select.SOMEWHERE_power_select
- service: notify.mobile_app_mircos_iphone
data:
message: '5:30/11:00/23:30 Temp change: Currently={{ states(''sensor.SOMEWHERE_stove_current_temp'')}}.
Set ={{states(''sensor.SOMEWHERE_stove_set_temp'')}}, {{states(''select.SOMEWHERE_eco_select'')}},
{{states(''select.SOMEWHERE_power_select'')}}'
enabled: true
- service: notify.mobile_app_mircos_iphone
data:
message: '5:30/11:00/23:30 Temp change: Currently={{ states(''sensor.SOMEWHERE_stove_current_temp'')}}.
Set ={{states(''sensor.SOMEWHERE_stove_set_temp'')}}, {{states(''select.SOMEWHERE_eco_select'')}},
{{states(''select.SOMEWHERE_power_select'')}}'
enabled: false
mode: single
- id: '1671411223240'
alias: SOMEWHERE Stove Error Code Display
description: error code handler
trigger:
- platform: numeric_state
entity_id: sensor.SOMEWHERE_stove_error_code
above: 0
condition: []
action:
- service: notify.mobile_app_jeffs_iphone_se
data:
message: 'Stove Error ={{states(''sensor.SOMEWHERE_stove_current_temp'')}}. Set
={{states(''sensor.SOMEWHERE_stove_set_temp'')}}, {{states(''select.SOMEWHERE_stove_eco_select'')}},
{{states(''select.SOMEWHERE_power_select'')}}, Error: {{states(''sensor.SOMEWHERE_stove_error_code_decoded'')}}'
enabled: false
- service: notify.mobile_app_jeffs_128gb_ipad
data:
message: 'Stove Error ={{states(''sensor.SOMEWHERE_stove_current_temp'')}}. Set
={{states(''sensor.SOMEWHERE_stove_set_temp'')}}, {{states(''select.SOMEWHERE_eco_select'')}},
{{states(''select.SOMEWHERE_power_select'')}}, Error: {{states(''sensor.SOMEWHERE_stove_error_code_decoded'')}}'
enabled: false
mode: single