@irfan, I think it’s a good idea to prevent the other rule to run if not necessary and prevent potential racing condition. One side note here that you can also use the context.event.value
Context Variable to set the $HumidifierSetting value directly without having to poll the humidity reading. (The rule will execute slightly faster and not depending on if it gets the polling result.) See the rule example below that the context.event.value
will be whatever the heatingSetpoint’s triggering value.
See the post below for more details about the recently released Context Variable feature.