AutomationTimerManager Trait (tmgr)

Experimental trait for managing automation timers.

AttributeValue
Idtag:google.com,2018:m2m:traits:timer-manager:v1:v0#r0
Short-Idtmgr
Has-Childrenyes

Metadata Properties

NameKeyRWReqDescription
TraitURIm/tmgr/turiXXThe URI that uniquely identifies the specification used to implement this trait.

m/tmgr/turi : TraitURI

The URI that uniquely identifies the specification used to implement this trait.

AttributeValue
Value TypeURI-reference
FlagsCONST, REQ

Methods

KeyDescription
f/tmgr?createCreates a new automation timer.

f/tmgr?create : Create

Creates a new automation timer.

ArgReqReturnsDescription
predtext stringPredicate program.
nametext stringDescriptive name for the created timer.
recybooleanDetermines if the created timer should be recyclable.
actiarray containing maps of nullable splot valuesList of Actions.
actmtext stringMethod for a single action.
mtchtext string
actpURI-referencePath for a single action.
enbooleanDetermines if the created timer will be immediately enabled or not.
actbsplot valueBody for a single action.
adelbooleanAuto delete flag.
durareal numberDuration of the timer.
arstbooleanAuto reset flag.
schdtext stringSchedule Program.

Returns URI for the created timer.