Hi,
Looking to trigger an automation at quarter past and quarter to (not on the hour). I’ve tried various combos but am stuck, any ideas?
description: “Check solar to start Heat Pump”
trigger:
- trigger: time_pattern
minutes: 15, 45
condition:
Hi,
Looking to trigger an automation at quarter past and quarter to (not on the hour). I’ve tried various combos but am stuck, any ideas?
description: “Check solar to start Heat Pump”
trigger:
- trigger: time_pattern
minutes: 15, 45
condition:
Use two triggers
triggers:
- trigger: time_pattern
minutes: 15
- trigger: time_pattern
minutes: 45
or use /
to trigger on all minute values divisible by 15, as shown and described in the docs. Then use a template condition to require it to be 15 or 45:
triggers:
- trigger: time_pattern
minutes: /15
conditions:
- condition: template
value_template: "{{ now().minute in [15, 45] }}"
Perfect, thank you.