First rule of home automation: the model number matters.
Although the S4 and Z4 use the same case, they use very different Z wave commands. (โSโ is a โscene controller;โ โZโ is a โzone controller.โ) There is much discussion of this already in the forum threads. Note that there was a platform update in 2017 which allowed for more functionality in the integration as long as you had at least a V2 hub.