Field Type Required Description
blockOptions.method.args.item blockOptions.method.args.expression string + Argument declaration of value source name. The value should be in the block with name or expression.
blockOptions.method.args.value string + Argument declaration of a value to compare with. Could be a constant value or an expression reference or an item id. The value should be in the block with name .
blockOptions.method.args.valueType string + Argument declaration of a value type to restrict arguments value types with. The value should be in the block with name . Both sides of a comparison should be of that type.
blockOptions.method.args.comparator string Argument declaration of comparator state. The value, if any, should be in the block with name . Optional. Default value: . Possible comparators for any value type: , . Possible comparators for linearly ordered value types (value types with operation defined: , , , , , .
  • Note: If a constant part of a when block doesn’t correspond to the value of a property, the scene creation will end with an error . If an item or expression value type won’t match the property, the comparison will fail in run time.

This feature is available since advanced_scenes/1.26.