I have several automation scenarios depending on binary sensors. Let’s say on window open sensor. I want to add some inertia to them. So I want sensor that is true if window is currently open or was open within last 10 minutes.
So I want to create some synthetic fake binary sensor that depends on real sensor and goes to true immediately after real goes true, but goes false only if real was false within last 10 minutes.
Is simple words I want flag “window is currently open or was opened within last 10 minutes” which I can later use in scenarios.