Many of my automations are required to run either once or multiple times per day when the trigger device is triggered. Examples of automations that run once can be:
- Turn of the lights when the bed sensor is activated.
- Send a notification when the temperature is above or below a certain level.
In the above examples, you don’t want to turn the lights off again if while sleeping the bed sensor opens and closes again. Also if the temperature is above a certain level, you will get a notification every time the sensor updates.
Currently you can create a boolean and set it’s state as condition but this creates additional entities and make the logs heavier.
My suggestion is to create a Run condition with multiple options:
- Run once
- Run every time the trigger is triggered
- Ask before running
In the " Run once" option you can set various sub options such as: per day, per month, per year and specify the date and time.
In the “ask before running” you can set up a phone that an actionable notification will be sent and if confirmed the actions will run.
I am aware that all this is possible today but with either more than one automations or with the use of helpers.
My suggestion would make things easier during automation building and you wouldn’t need to exit the automation to create a helper that you need.
Thanks for considering this idea!