Running sensors in series instead of parallel

I’m working on a rule template and have 2 sensors I would like to execute in series, so first one and then the other, but I can only seem to be able to run them in parallel. Is there a way to solve this?

2 Likes

Hey Eric!

Yeah there are mainly two ways to do this:

  1. By chaining the two sensors, the second sensor will be executed from the moment the first one is done.
    Screen Shot 2021-03-12 at 15.50.01

  2. If you don’t want to chain sensors, you can also change the execution order by giving them a different sequence number, you find this option under the advanced settings when configuring the sensor. Sensors with a lower value will be executed first.

I hope that helped you out!

2 Likes

Hey Sander, changing the sequence number is exactly what I needed! Thank you very much!

1 Like

No problem, have a nice day! :grinning_face_with_smiling_eyes:

1 Like