I've written a rule to turn on a space heater if the temp is equal to or below 67℉. I'm using a Smartthing motion/temp sensor and an Aotec plug to verify a person is in the heated space, and the temp is low enough to turn on the heater.
The rule works just fine. However, when I look at the logs, the rule is triggering every minute or so. The way I've written the script doesn't appear to be efficient. What is a better way to approach this action? I'm new enough at this that I'm at a loss to make this rule more efficient.