Fixed problem with single digit pins

https://github.com/ni-c/heimcontrol.js/issues/2