I’m planning to create a flow with a day calculation as condition, i.e. when difference between current date - variable_DateStored1 Greater than 7. How can i calculate this?
The story behind: My battery monitors don’t work reliable, and i want to be sure my sensors work. So when they trigger an event, i will store a timestamp (date). When i see the frontdoorsensor hasn’t triggered an event since a day, thats a reason to check the sensor.
I’ve searched in BetterLogic for date calculations, but am not able to find an answer how to do this in a Homey flow.
Maybe anyone can help?