Syntax Script Rules


I try to get the actual state from a dimmer inside a script for a configured action.

I found the following example:

be.storeStates([Item[]] items)

Is “Item” the Item type so in my example “DimmerItem”?

When I Try this:

events.storeStates([DimmerItem[test]]) then I get the message:

Script execution failed: ReferenceError: "DimmerItem" is not defined in <eval>