SetTimerAction
¶
Source code in docs_src/capo_iot_events/types/set_timer_action.py
duration_expression
instance-attribute
¶
duration_expression: NotRequired[VariableValue]
The duration of the timer, in seconds. You can use a string expression that includes numbers, variables ($variable.), and input values ($input.) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.