I have a sprinkler system operated by a series of solenoid valves that are controlled by z-wave devices. The water supply comes from an unground tank that uses a pump, which has a z-wave device connected behind the power switch and measures the power usage. When water level in the tank becomes low, it automatically switches to mains water.
I want to created a trigger that sends an email notification when the sprinkler is turned on & the current power load for the pump is zero watts (Not operating), which means that the sprinkler system is using mains water.
The problem I'm facing is that there is a slight delay (Approximately 10 seconds from when the sprinkler is turned on and the pumps Starts to displays power usage.
I want to know if it is possible to write a scrip in the condition section that creates a pause (~10secs) before checking the condition.