LightEffectsState

Description

For devices that can support complex lighting commands to change state, such as looping through various colors.

Fields

Key Type Description
deviceDevice

The device reporting the LightEffects state.

Required

stateFieldPath

The specific state data to check.

Required

isDynamic

Checks if the state data is equal to a value.

Optional

To use this field, all the following fields CANNOT be used: isNot, greaterThanOrEqualTo, greaterThan, lessThanOrEqualTo, lessThan

isNotDynamic

Checks if the state data is not equal to a value.

Optional

To use this field, all the following fields CANNOT be used: is, greaterThanOrEqualTo, greaterThan, lessThanOrEqualTo, lessThan

greaterThanDynamic

Checks if the state data is greater than (>) a value.

Optional

To use this field, all the following fields CANNOT be used: isNot, is, greaterThanOrEqualTo

greaterThanOrEqualToDynamic

Checks if the state data is greater than or equal to (>=) a value.

Optional

To use this field, all the following fields CANNOT be used: isNot, is, greaterThan

lessThanDynamic

Checks if the state data is less than (<) a value.

Optional

To use this field, all the following fields CANNOT be used: isNot, is, lessThanOrEqualTo

lessThanOrEqualToDynamic

Checks if the state data is less than or equal to (<=) a value.

Optional

To use this field, all the following fields CANNOT be used: isNot, is, lessThan

forDuration

Checks if the state has already remained for a certain duration. Only applicable for Starters, cannot be used with Conditions.

Optional

suppressForDuration

Suppress the triggering of the starter for a specified time period.

Optional

LightEffects State Data

Key Type Description
activeLightEffectString

Optional

Examples

starters:-type:device.state.LightEffectsdevice:My Device - Room Namestate:activeLightEffectis:colorLoopcondition:type:device.state.LightEffectsdevice:My Device - Room Namestate:activeLightEffectis:colorLoop