-
Notifications
You must be signed in to change notification settings - Fork 4
/
automations.yaml
184 lines (181 loc) · 5.39 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
alias: House Pellet Stove Turn on external Fan when Heating
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.esph_house_stove_pipe_temp
above: 275
- platform: numeric_state
entity_id: sensor.esph_house_stove_pipe_temp
below: 200
condition: []
action:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.esph_house_stove_pipe_temp
above: 225
sequence:
- type: turn_on
entity_id: switch.house_stove_fan_socket_1
domain: switch
- service: switch.turn_on
data: {}
target:
entity_id: switch.house_stove_fan_socket_1
- conditions:
- condition: numeric_state
entity_id: sensor.esph_house_stove_pipe_temp
below: 275
sequence:
- type: turn_off
entity_id: switch.house_stove_fan_socket_1
domain: switch
- service: switch.turn_off
data: {}
target:
entity_id: switch.house_stove_fan_socket_1
mode: single
- id: '1669959141194'
alias: House Pellet stove HVAC 5:30 & 11am & 11:30pm
description: 'Set temps and modes on a schedule'
trigger:
- platform: time
at: 05:30:00
alias: 5:30am
- platform: time
at: '11:00:00'
alias: 11:00am
- platform: time
at: '23:30:00'
alias: 11:30pm
condition: []
action:
- choose:
- conditions:
- condition: time
before: 06:00:00
after: 05:30:00
weekday:
- sat
- fri
- thu
- wed
- tue
- mon
- sun
alias: '@5:30am'
- condition: numeric_state
entity_id: sensor.stove_current_temp_sensor_smoothed
below: 68
sequence:
- service: climate.set_temperature
data:
temperature: 71
target:
entity_id: climate.house_wood_pellet_stove
alias: Set Temp 71
- service: select.select_option
data:
option: ECO2 - Px then P4
target:
entity_id: select.esph_house_eco_select
alias: 'ECO2 '
- service: select.select_option
data:
option: P4-Low
target:
entity_id: select.esph_house_power_select
alias: P4-Low
- conditions:
- condition: time
before: '11:30:00'
weekday:
- mon
- tue
- wed
- fri
- thu
alias: '@11:30am'
after: '11:00:00'
sequence:
- service: climate.set_temperature
data:
temperature: 70
target:
entity_id: climate.house_wood_pellet_stove
alias: 70F
- service: select.select_option
data:
option: ECO1 - Heat then OFF
target:
entity_id: select.esph_house_eco_select
alias: ECO1
- service: select.select_option
data:
option: P4-Low
target:
entity_id: select.esph_house_power_select
alias: P4-Low
- conditions:
- condition: time
before: '23:59:00'
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
after: '23:30:00'
alias: 11:30pm
sequence:
- service: climate.set_temperature
data:
temperature: 66
target:
entity_id: climate.house_wood_pellet_stove
alias: set 64F
- service: select.select_option
data:
option: ECO1 - Heat then OFF
target:
entity_id: select.esph_house_eco_select
alias: ECO1 - Heat then OFF
- service: select.select_option
data:
option: P4-Low
target:
entity_id: select.esph_house_power_select
- service: notify.mobile_app_jeffs_iphone_se
data:
message: '5:30am/11am/11:30 Temp change: Currently={{ states(''sensor.esph_house_stove_current_temp'')}}.
Set ={{states(''sensor.esph_house_stove_set_temp'')}}, {{states(''select.esph_house_eco_select'')}},
{{states(''select.esph_house_power_select'')}}'
enabled: false
- service: notify.mobile_app_jeffs_128gb_ipad
data:
message: '5:30am/11am/11:30 Temp change: Currently={{ states(''sensor.esph_house_stove_current_temp'')}}.
Set ={{states(''sensor.esph_house_stove_set_temp'')}}, {{states(''select.esph_house_eco_select'')}},
{{states(''select.esph_house_power_select'')}}'
mode: single
- id: '1671411223240'
alias: House Stove Error Code Display
description: error code handler
trigger:
- platform: numeric_state
entity_id: sensor.esph_house_stove_error_code
above: 0
condition: []
action:
- service: notify.mobile_app_jeffs_iphone_se
data:
message: 'Stove Error ={{states(''sensor.esph_house_stove_current_temp'')}}.
Set ={{states(''sensor.esph_house_stove_set_temp'')}}, {{states(''select.esph_house_eco_select'')}},
{{states(''select.esph_house_power_select'')}}, Error: {{states(''sensor.esph_house_error_code_decoded'')}}'
- service: notify.mobile_app_jeffs_128gb_ipad
data:
message: 'Stove Error ={{states(''sensor.esph_house_stove_current_temp'')}}.
Set ={{states(''sensor.esph_house_stove_set_temp'')}}, {{states(''select.esph_house_eco_select'')}},
{{states(''select.esph_house_power_select'')}}, Error: {{states(''sensor.esph_house_error_code_decoded'')}}'
mode: single