I tried to work around the issue by using triggeringItem.state which technically works, but does not give me the desired result. The rule triggers due to Member of LightControls received command, and I experience that the rule often fires before triggeringItem.state is updated, in case it is the device.
What syntax can I use to retrieve the receivedCommand from the triggeringItem? I went through the rules page in the docs multiple times now, but I don’t see the solution.
Please be aware that a received command is not the same as an update to a state.
If the rule is triggereing through Member of gGroup received command, simply use receivedCommand for the command which was received and triggeringItem.name for the name of the triggering Item.
In case of a Member of trigger, triggeringItem is a genericItem, so you could also use other Item specific stuff like triggeringItem.label.