Get something working for one sensor. Extend your solution to several sensors.
You are allowed this or that triggers in rules.