rule "Arduino sends to Openhab"
when
Item Arduino received update
then
var Integer newWeight = Integer::parseInt(Arduino.state.toString)
Weight.sendUpdate(newWeight)
end
Will do, I assumed it was, just relatively new to all this Home Automation business. Also doesn’t it require two variables inside the function? Or does it not?