Skip to content

Commit 0e14af3

Browse files
Merge pull request #21 from ApolloAutomation/beta
Merge beta to main which fixes input dry logic, switches to actions, and removes strapping warning.
2 parents d31db50 + 0e79266 commit 0e14af3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Integrations/ESPHome/Core.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
substitutions:
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

66
esp32:
@@ -31,21 +31,21 @@ esphome:
3131
- lambda: "id(testScript).execute();"
3232

3333
api:
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

0 commit comments

Comments
 (0)