@Vetrax wrote:
Hy everyone, need some advice on automating my irrigation system. The scenarios is: when moisture is below 40% , the pump must turn ON for 5 seconds and then turn OFF. If moisture is still below 40% the pump should turn On again.
this is my code- id: '1584717420577' alias: Laistymas description: '' trigger: - below: '50' entity_id: sensor.moisture platform: numeric_state condition: [] action: - data: {} entity_id: switch.laistymas service: switch.turn_on - delay: 00:00:05 - data: {} entity_id: switch.laistymas service: switch.turn_off
The pump just turn On for 5 sec , then Turn OFF and thats it. Does not activate for second time . So what am I doing wrong?
Posts: 4
Participants: 3