Skip to content

Commit 62ee16b

Browse files
committed
Added Eddi automation toggle to automations.
1 parent 2902e44 commit 62ee16b

File tree

1 file changed

+44
-25
lines changed

1 file changed

+44
-25
lines changed

packages/integrations/hvac/eddi.yaml

Lines changed: 44 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ automation:
1919
- condition: state
2020
entity_id: input_boolean.enable_hot_water_automations
2121
state: "on"
22+
- condition: state
23+
entity_id: input_boolean.enable_eddi_automations
24+
state: "on"
2225
actions:
2326
- action: script.send_to_home_log
2427
data:
@@ -51,7 +54,7 @@ automation:
5154
entity_id: input_boolean.enable_hot_water_automations
5255
state: "on"
5356
- condition: state
54-
entity_id: input_boolean.enable_eddi_automatic_reset
57+
entity_id: input_boolean.enable_eddi_automations
5558
state: "on"
5659
actions:
5760
- parallel:
@@ -87,6 +90,9 @@ automation:
8790
- condition: state
8891
entity_id: water_heater.thermostat
8992
state: "on"
93+
- condition: state
94+
entity_id: input_boolean.enable_eddi_automations
95+
state: "on"
9096
actions:
9197
- action: script.send_to_home_log
9298
data:
@@ -116,6 +122,9 @@ automation:
116122
- condition: state
117123
entity_id: input_boolean.enable_hot_water_automations
118124
state: "on"
125+
- condition: state
126+
entity_id: input_boolean.enable_eddi_automations
127+
state: "on"
119128
actions:
120129
- parallel:
121130
- action: script.send_to_home_log
@@ -138,35 +147,45 @@ script:
138147
hvac_set_solar_diverter_to_holiday_mode:
139148
alias: HVAC Set Solar Diverter To Holiday Mode
140149
sequence:
141-
- parallel:
142-
- action: script.send_to_home_log
143-
data:
144-
message: >-
145-
Turning :fuelpump: Eddi back on.
146-
title: myEnergi
147-
log_level: "Normal"
148-
- action: select.select_option
149-
data:
150-
option: Stopped
151-
target:
152-
entity_id: select.myenergi_eddi_operating_mode
150+
- if:
151+
- condition: state
152+
entity_id: input_boolean.enable_eddi_automations
153+
state: "on"
154+
then:
155+
- parallel:
156+
- action: script.send_to_home_log
157+
data:
158+
message: >-
159+
Turning :fuelpump: Eddi back on.
160+
title: myEnergi
161+
log_level: "Normal"
162+
- action: select.select_option
163+
data:
164+
option: Stopped
165+
target:
166+
entity_id: select.myenergi_eddi_operating_mode
153167
mode: single
154168
icon: mdi:gas-station
155169
hvac_set_solar_diverter_to_normal_mode:
156170
alias: HVAC Set Solar Diverter To normal Mode
157171
sequence:
158-
- parallel:
159-
- action: script.send_to_home_log
160-
data:
161-
message: >-
162-
Turning :fuelpump: Eddi back on.
163-
title: myEnergi
164-
log_level: "Normal"
165-
- action: select.select_option
166-
data:
167-
option: Normal
168-
target:
169-
entity_id: select.myenergi_eddi_operating_mode
172+
- if:
173+
- condition: state
174+
entity_id: input_boolean.enable_eddi_automations
175+
state: "on"
176+
then:
177+
- parallel:
178+
- action: script.send_to_home_log
179+
data:
180+
message: >-
181+
Turning :fuelpump: Eddi back on.
182+
title: myEnergi
183+
log_level: "Normal"
184+
- action: select.select_option
185+
data:
186+
option: Normal
187+
target:
188+
entity_id: select.myenergi_eddi_operating_mode
170189
mode: single
171190
icon: mdi:gas-station
172191
hvac_set_solar_diverter_to_boost_mode:

0 commit comments

Comments
 (0)