I want to create a condition in my autiomation (or a template sensor to check the state of) and have it check if an automation has been fired recently and not let the autoamtion run if it was run in say the last 5 minutes.
I got the template as far as pulling the last triggered state. However, it doesn’t give the string I was expecting so I am a bit stuck.
Not sure how to work with that. Was hoping for a seconds or minutes or hours readout. Im assuming ill either have to add an or statement or have another option to allow the automation to run if the result is ‘None’