My Photovoltaic will start my pool pump in combination with a max. run time. The starting procedure is working well but the stop procedure isn’t working at all.
I have two trigger for stopping. What is the issue?
Thank you!
alias: Pool Reinigung Ein/Aus TEST all in one
description: ‘’
trigger:
- platform: numeric_state
entity_id: sensor.power_grid_fronius_power_flow_0_http_192_168_0_22
below: ‘-1500’
for:
hours: 0
minutes: 0
seconds: 10
condition: - condition: and
conditions:- condition: numeric_state
entity_id: sensor.gesamtzeit_pool_reinigung_ein_aus
below: ‘3.05’
action:
- condition: numeric_state
- service: switch.turn_on
data: {}
target:
entity_id: switch.pool_ein_aus - wait_for_trigger:
- platform: numeric_state
entity_id: sensor.power_grid_fronius_power_flow_0_http_192_168_0_22
above: ‘-500’ - platform: numeric_state
entity_id: sensor.gesamtzeit_pool_reinigung_ein_aus
above: ‘3.05’
- platform: numeric_state
- service: switch.turn_off
data: {}
target:
entity_id: switch.pool_ein_aus
mode: single