Extends
Methods
in(…values) → {ItemStateConditionConf}
- Description:
Checks if item state matches any array of values
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
values |
any |
<repeatable> |
Returns:
is(value) → {ItemStateConditionConf}
- Description:
Checks if Item state is equal to given value.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
value |
string |
Returns:
isOff() → {ItemStateConditionConf}
- Description:
Checks if the Item state is OFF.
- Source:
Returns:
isOn() → {ItemStateConditionConf}
- Description:
Checks if the Item state is ON.
- Source:
Returns:
then(fnopt) → {operations.OperationBuilder}
- Source:
- Overrides:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
fn |
* |
<optional> |
an optional function |
Returns:
- Type
- operations.OperationBuilder