There's no "elseif" in Rules API, but depth limit is causing server overloads

I don’t know if it would be the same but there’s a property “changes” in the Rules API, we used it for this example to mirror the behavior between two devices:

Also, the sample included in the documentation combined with “lessThan” (here) mentioned that it will be evaluated as true only when the number drops from a higher one and meets the condition of “lessThan” but not if the new value is still “lessThan” the number defined. So, it can help in your case, @Steve_AZ.

1 Like