I just configures the integration “smart irrigation”, works fine so far. Now I would like to create an automation, which starts my irrigation, wait some time and stop the irrigation. How can I set the number from my sensor.smart_irrigation_rasen (see picture) = the time how long the waiting time should be?
What do you mean by “waiting time” exactly? If it is not a very long time interval, you can simply use a delay between the actions. For longer time intervals though it would be safer to use a timer, or store the start time in a datetime helper and trigger the stop on the helper plus an offset.
With “waiting time” I mean this (see picture). And I would like to set this time equate with the time from the sensor which I showed in the first post.
That looks like a delay but not 100% sure as not in English. Anyway, you cannot use a sensor as the input in visual mode, you need to switch to YAML code view from the … menu in the corner. I don’t know what unit your sensor outputs, is it in hours? If so you need enter something like this:
Hi. Thanks. The sensor is in seconds, so I changed “hours” to “seconds”, but there is a failure message (the “null” behind the delay is made automatically, I’m not able to delete)
Edit: Changed now to delay: "{{ states('sensor.smart_irrigation_rasenbewasserung') }}" and receive now failure, but not sure if he takes seconds, minutes or hours.