Advanced automation

Hi everybody,

wanted to share my custom component for the automation. Current option is the ability to pause/cooldown an automation for a given time after it has been triggered, so its not triggered within that timerange again (cooldown).
This would have been made before with

- condition: template
        value_template: >-
          {{ ((as_timestamp(now()) - as_timestamp(states.automation.entity_id.attributes.last_triggered))) > 3600 }}

with this automation component:

cooldown:
  # Set a cooldown for a time 'hours:minutes:seconds'
  time: '01:00:00'

Because i use this component myself, i keep it up to date with current version. Feel free to use it. Its still in dev, so there can be bugs. I’ll do more test soon.

4 Likes