File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 11substitutions :
22 name : apollo-pump-1
3- version : " 25.11.6 .1"
3+ version : " 25.12.18 .1"
44 device_description : ${name} made by Apollo Automation - version ${version}.
55
66esp32 :
@@ -31,21 +31,21 @@ esphome:
3131 - lambda : " id(testScript).execute();"
3232
3333api :
34- services :
35- - service : play_buzzer
34+ actions :
35+ - action : play_buzzer
3636 variables :
3737 song_str : string
3838 then :
3939 - rtttl.play :
4040 rtttl : !lambda 'return song_str;'
41- - service : run_pump_for_seconds
41+ - action : run_pump_for_seconds
4242 variables :
4343 seconds : int
4444 then :
4545 - switch.turn_on : pump_control
4646 - delay : !lambda 'return seconds * 1000;'
4747 - switch.turn_off : pump_control
48- - service : run_pump_until_full
48+ - action : run_pump_until_full
4949 then :
5050 - script.execute : pumpUntilFull
5151
@@ -177,6 +177,7 @@ binary_sensor:
177177 mode :
178178 input : true
179179 pullup : true
180+ ignore_strapping_warning : true
180181 on_multi_click :
181182 - timing :
182183 - ON for at least 10s
@@ -369,7 +370,7 @@ script:
369370 condition :
370371 - and :
371372 - switch.is_on : stop_pump_when_dry
372- - binary_sensor.is_on : fluid_input_sensor
373+ - binary_sensor.is_off : fluid_input_sensor
373374 then :
374375 - logger.log : " Pump stopping - input dry"
375376 - switch.turn_off : pump_control
@@ -395,4 +396,4 @@ script:
395396 green : 0%
396397 blue : 0%
397398 - light.turn_off :
398- id : rgb_light
399+ id : rgb_light
You can’t perform that action at this time.
0 commit comments