Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.04 KB

interval.rst

File metadata and controls

32 lines (23 loc) · 1.04 KB

Interval Component

This component allows you to run actions at fixed time intervals. For example, if you want to toggle a switch every minute, you can use this component. Please note that it's possible to achieve the same thing with the :ref:`time.on_time <time-on_time>` trigger, but this technique is more light-weight and user-friendly.

# Example configuration entry
interval:
  - interval: 1min
    then:
      - switch.toggle: relay_1

If a startup delay is configured, the first execution of the actions will not occur before at least that time after boot.

Configuration variables:

See Also