There are two types of devices provided by this adapter:
- Timer: Runs for the specified number of seconds
- Interval: Continuously emits an event after the specified number of seconds
- Go to settings
- Add a timer/interval
The timer has two actions:
start
: Start the timer and set theelapsed
property after the specified number of secondsreset
: Reset the timer to the specified number of seconds and clear theelapsed
property
The interval provides an active
property to control whether events are emitted.
When the specified number of seconds is over an elapsed
event is emitted.