The only trigger I can find is to trigger at the top and bottom of the hour. is there a way to do it every X minutes from now so I am able to set it this up at the present time of 10:40 so that it would it will then trigger at 11:10 which is 30 minutes from now?
Maybe this?
This should work. Create the automation first then add its entity ID where shown.
triggers:
- trigger: event
event_type: automation_reloaded
- trigger: state
entity_id:
- automation.[AUTOMATION_ENTITY_ID]
attribute: last_triggered
for:
minutes: 30
If you don’t want the 30 minutes to start every time you reload automations, omit the first trigger and trigger it manually to start it off.
As long as there is a starting time for the automation trigger I solved this way. At 10:00 the automation starts and repeats every 45 minutes: 10:00, 10:45, 11:30, 12:15, …
You can set conditions to exclude given times
alias: Your automation name
description: Your automation description
triggers:
- value_template: >
{% set inizio = today_at("10:00") %}
{% set minuti_trascorsi = ((now() - inizio).total_seconds() / 60) | int %}
{{ now() >= inizio and minuti_trascorsi % 45 == 0 }}
trigger: template
conditions: []
actions: