Action when temperature goes above 2 degrees?

I have tried this:

Temperature of Hønsehus - temp (4.63) becomes > 2.0
Off: Høns - Varmeplade
Notify Henrik (hubitat): 'Varmeplade slukket'

However, then I get a massage every time the temperature device gets a reading above 2 degrees (about every hour).

I would like to ONLY activate the action when the temperature goes below 2 degrees ie. crosses the 2 degree line.

You'll want to Latch the rule

Trigger
Temperature changed

Actions

If temperature >2
     If private Boolean = false
             Do stuff 
              Set private Boolean = true
      End if
Else
      Set private Boolean = false
End if
2 Likes

Thank you!!!