Z-Wave JS does a lot of internal validation that we have attempted to replicate within the library, and in some cases we may have been overly strict. Where it makes sense, we should fallback to the driver validation. To accomplish this we will need to make sure that whatever cases that lead to an exception and would also return an error from zwave-js are removed from the library.
CC @MartinHjelmare as this is something we have tackled here or there, but I think this is an overall design decision we should align on
Z-Wave JSdoes a lot of internal validation that we have attempted to replicate within the library, and in some cases we may have been overly strict. Where it makes sense, we should fallback to the driver validation. To accomplish this we will need to make sure that whatever cases that lead to an exception and would also return an error from zwave-js are removed from the library.CC @MartinHjelmare as this is something we have tackled here or there, but I think this is an overall design decision we should align on