Rules engine with bathroom fan sensor

A Boolean is a true/false variable.

Variables for Rules and Dashboards!

You would create the variable and in the rule 1, add set variable true.

In rule 2, I’m guessing your trigger is humidity is less than 40. Add an if statement that says if variable is true then turn off fan, set variable false.

5 Likes