ThingTriggerConfig

TriggerBuilder. ThingTriggerConfig

Thing based trigger

Extends

Methods

changed() → {TriggerBuilder.ThingTriggerConfig}

Source:

thing changed

Returns:
Type
TriggerBuilder.ThingTriggerConfig

updated() → {TriggerBuilder.ThingTriggerConfig}

Source:

thing updates

Returns:
Type
TriggerBuilder.ThingTriggerConfig

from() → {TriggerBuilder.ThingTriggerConfig}

Source:

thing status changed from

Returns:
Type
TriggerBuilder.ThingTriggerConfig

to() → {TriggerBuilder.ThingTriggerConfig}

Source:

thing status changed to

Returns:
Type
TriggerBuilder.ThingTriggerConfig

or() → {TriggerBuilder}

Source:
Overrides:

Add an additional Trigger

Returns:
Type
TriggerBuilder

then(function) → {OperationBuilder}

Source:
Overrides:

Move to the rule operations

Parameters:
Name Type Description
function *

the optional function to execute

Returns:
Type
OperationBuilder

if(function) → {ConditionBuilder}

Source:
Overrides:

Move to the rule condition

Parameters:
Name Type Description
function *

the optional function to execute

Returns:
Type
ConditionBuilder