Help with ZWAVE DOOR LOCK

Hi

I recently purchased a kwikset zwave door lock- it seems to have been discovered and initiated correctly. There is a node file created and battery command seems to work fine.

However I tried using it as a switch commands and it does not seem to work. I noticed in the node file that there is a specific door lock command class- what commands should i be using for locking/unlocking and status?

Node file has the following contents:

<node id="42">
<manufacturer id="144">Black & Decker</manufacturer>
<basic-device-class id="0x04">BASIC_TYPE_ROUTING_SLAVE</basic-device-class>
<generic-device-class id="0x40">GENERIC_TYPE_ENTRY_CONTROL</generic-device-class>
<specific-device-class id="0x03">SPECIFIC_TYPE_SECURE_KEYPAD_DOOR_LOCK</specific-device-class>
<product-type id="0x0001"/>
<product id="0x0001"/>
<listening>false</listening>
<routing>true</routing>
<command-classes>
<command-class id="0x00" version="1" name="COMMAND_CLASS_NO_OPERATION" type="supported" security="secured_only"/>
<command-class id="0x80" version="1" name="COMMAND_CLASS_BATTERY" type="supported" security="secured_only"/>
<command-class id="0x70" version="1" name="COMMAND_CLASS_CONFIGURATION" type="supported" security="secured_only"/>
<command-class id="0x20" version="1" name="COMMAND_CLASS_BASIC" type="supported" security="secured_only"/>
<command-class id="0x71" version="1" name="COMMAND_CLASS_ALARM" type="supported" security="secured_only"/>
<command-class id="0x72" version="1" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" type="supported" security="secured"/>
<command-class id="0x62" version="1" name="COMMAND_CLASS_DOOR_LOCK" type="supported" security="secured_only"/>
<command-class id="0x85" version="1" name="COMMAND_CLASS_ASSOCIATION" type="supported" security="secured_only">
<association-groups>
<association-group id="1" capacity="5"/>
</association-groups>
</command-class>
<command-class id="0x75" version="1" name="COMMAND_CLASS_PROTECTION" type="supported" security="secured_only"/>
<command-class id="0x86" version="1" name="COMMAND_CLASS_VERSION" type="supported" security="secured"/>
<command-class id="0x98" version="1" name="COMMAND_CLASS_SECURITY" type="supported" security="secured"/>
</command-classes>
<configuration hash="CF56F287F7D543CBEF39FC47DDDD4A38">
<associations>
<association-group id="1" capacity="5">
<association>
<node>1</node>
</association>
</association-group>
</associations>
<parameters/>
</configuration>
</node>

COMMAND_CLASS_DOOR_LOCK has the following commands:

LOCK
UNLOCK
STATUS_DOOR_LOCK

The command STATUS_DOOR_LOCK should be linked with a ‘switch’ sensor.

Thanks that works!