I'm trying to get a rule that will control the Humidifier in a room based on an Aeon Multisensor 6 and a simple humidifier plugged into a peanut plug.
The following are my requirements for this rule:
I want the humidity to be 50-55% in the room while the person is sleeping, generally. It's a kid's bedroom, so they may be sleeping in there any time on the weekend, but only in the evening during the week.
I tried adding some error handling to keep from repeated signals being triggered (like sending the "turn on" signal repeatedly when the plug is already on).
I would like to know what you think of this and if there are any more efficient ways I could achieve the desired result.