Hi All,
I have an example of an automation which needs to trigger after
- 30 seconds
- 45 seconds
- 1 minute 30 seconds
- 1 minute 40 seconds
after a specific state change.
At the moment my triggers look like:
- id: 'timer_1'
platform: state
entity_id: binary_sensor.backup_jobs_bareos_refresh
to: 'on'
for: '00:00:30'
- id: 'timer_2'
platform: state
entity_id: binary_sensor.backup_jobs_bareos_refresh
to: 'on'
for: '00:00:40'
- id: 'timer_3'
platform: state
entity_id: binary_sensor.backup_jobs_bareos_refresh
to: 'on'
for: '00:01:30'
- id: 'timer_4'
platform: state
entity_id: binary_sensor.backup_jobs_bareos_refresh
to: 'on'
for: '00:01:40'
Is there some way to consolidate this like:
- id: 'timers'
platform: state
entity_id: binary_sensor.backup_jobs_bareos_refresh
to: 'on'
for:
- '00:00:30'
- '00:00:40'
- '00:01:30'
- '00:01:40'