Hi, I’m learning automations. This is a first one for me. The moisture sensor is esp8266 that goes in to sleep every 120 sec for 30min.
The goal is to detect that moisture level is above 0.5V ( which translates in to about 50%), turn on watering relay and turn it off after 60 seconds.
I can not figure out why I’m getting this error. Also looks to me that the automation may will run just ones upon HA restart.
Thank You.
The error: Stopped because only a single execution is allowed at April 9, 2025 at 8:45:57 PM (runtime: 0.00 seconds)
Here the actual YAML.
id: '1744246478390'
alias: Garden Watering ON
description: ''
triggers:
- trigger: state
entity_id:
- sensor.garden_moisture2_soil_moisture
for:
hours: 0
minutes: 0
seconds: 5
- trigger: numeric_state
entity_id:
- sensor.garden_moisture2_soil_moisture
for:
hours: 0
minutes: 0
seconds: 5
above: 0.5
conditions: []
actions:
- type: turn_on
device_id: b645d336a4df1711d8250
entity_id: 7ee81ee2dea33225d5132
domain: switch
- delay:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
- type: turn_off
device_id: b645d336a4df1711d8250
entity_id: 7ee81ee2dea33225d5132
domain: switch
mode: single
1 post - 1 participant