How do I add generic/basic z-wave device

Not as a door sensor. It does not work through the basic z-wave device.
If it would have an actuator (output) for example a light switch, then included as basic z-wave device could have worked as ON/OFF.

You can put an app request for your device here: Homey Community App Requests