You probably need to add use “pi” to the system dialout group so it can talk to your controller. (I say “probably” because you have a Razberry and I don’t have one to test. If it was a z-stick, I’d say “absolutely definitely”)
It migght or might not be but in some cases it mathers which group is the primary one of the user.
I.E It could be that the Z-Wave stuff expects that the users primary group is the one mentioned (system dialout), while openhab would work fine with the group used for openhab attached as 2nd group…