I need to increase my device item “Volume” by a specific amount and I was trying to do that directly in the sendCommand:
But this give me an error "Unknown variable or command ‘+’ "
The workaround is to use a variable
var Number Vol = Volume.state
Vol = Vol + 5
I was wondering if there is a way to have an expression as the sendCommand argument and if yes what will be the proper syntax for my specific problem?