@SpacemanSpiff wrote:
So, this morning I went to drive my kid to school. We were a bit late. When I stepped out the front door I saw that the windshield of my car had frozen over. So Home Assistant to the rescue, to give me a heads-up not to take that second cup of coffee but to go outside to defrost the car.
My approach would be:
- Create a boolean flag “did it freeze last night”
- Automation 1: set flag to off at midnight
- Automation 2: if temp below +3° C between 0:01 and 7:00 then set flag to on
- Automation 3: at 7:15, if flag = on then notify
So my question to you: Is this the “cleanest” way to do this?
Perhaps there is a way to have a single automation with a condition “has temp been below +3° C in the last x hours”, which runs at 7:15?Thx
Posts: 2
Participants: 2