typical problem (at least for me ): The fridge door stays open to long or is not properly closed.
My idea: Adding a contact sensor to the fridge door and create a simple flow which detects it and sends a warning to our google home.
I don't have the sensors yet, but already wanted to play around with a flow.
My first idea was super simple:
The problem with this flow is, if the door is closed and opened while the delay is still active and stays open for a second after the delay is done, there will be a false alarm.
Another idea was this:
This also doesn't work if multiple "CLOSE" and "OPEN" are send.
Does someone has an idea how I can implement such a behaviour?