Literals

Value

A literal may consist of a fix value, such as a number, a text block, a boolean value, a time span or a time.

Examples

1.5
"it is cold"
true
30min
now

Variables

Literals starting with a $ sign are variables. The refer the data set with the same name.

Examples

$PowerConsumption

Building

The building related to the event, so that building related data can be accessed via Attribute Accessor, see:Attribute Accessor.

Examples:

Building::Id
Building::DeviceTypes

StreakCounter

When the rule has the "Streak" feature enabled, then the literal "StreakCounter" returns the current streak of this rule. It is of type Number.

See Streakfor more details about the Streak feature.

Examples

StreakCounter

StreakHasBeenReset

When the rule has the "Streak" feature enabled, then the literal "StreakHasBeenReset" returns the current streak of this rule. It is of type Boolean

See Streakfor more details about the Streak feature.

Examples

StreakHasBeenReset

Last updated