Hello all. Hope all are doing well during this pandemic.
I have a question about the 'right' way to write rules and logic.
I currently have a rule that turns off the exhaust fan in the washroom. Basically, when the fan goes on, a timer starts. After 10 minutes, the fan turns off. This is cancellable if the fan is turned off manually.
Ok, so now I have another rule that detects humidity in the washroom. When the humidity reaches a certain percentage, the fan turns on. Within that same rule, I also have the 10-minute timer.
So basically, I have the same 10-minute timer in both rules. It works, but it feels messy. I know that no one else but me sees the rules, but I am looking for some thoughts on this.