I whould like to have a automation for auto watering with a miflora sensor and a relay for the pumps. For the first the automation works when the miflora sensor say the moisture is under 20% it triggers the relay for the pumps. But now i whould like to have a delay that switch the toggle to off after 30 seconds or 1 minute. I set a delay but dont work for me. Can anyone help me please whats the mistake
Yes that works but its wrong sry my bad english. Now it switch the toggle 30 seconds later when the sensor is trigger but i will then when the sensor is trigger it turn on and after 30 seconds it set off. Simply said i will that it switch FOR 30 seconds