Piston multiple calls out


#1

This piston monitors for certain open sensors and if they have been open more than 5 minutes, it checks the temp outside against the thermostat setpoints. If outside the range, then it calls another piston that will speak an audible alert.

It works great, has been for a couple of weeks, but today was the first time the weather was nice enough to have multiple windows open. What is happening is that it is triggering correctly, but somehow calling the audible alert piston mutliple times. I thought I had the call out within the do loop for each open device, but nope.

What am I missing?