Answering my own question in case someone else stumbles across this thread:
- Make sure you have the community add-on version of ssh (not the official). This gives you access to docker of the underlying HassOS host. See this thread.
- Connect to the zwavejs ui container with the following command
docker exec -it $(docker ps -f name=zwavejs2mqtt -q) bash
- Update the relevant file to add the compat flag. In my case I ran
vi /data/db/devices/0x0039/39348_39455_zw4005.json