Iām also experiencing this problem across all z-wave devices. If I use ālock.clear_usercodeā for my Yale lock (for example) the code is successfully cleared as tested with the physical device, but home-assistant will not reflect any changes until after rebooting. Calls to ālock.get_usercodeā and such still report the (now invalid) code. Here is the contents of the OZW log after executing the clear command:
2019-09-03 01:07:33.054 Info, Node008, Value::Set - COMMAND_CLASS_USER_CODE - Code 2: - 2 - 1 - 0x00 0x00 0x00 0x00
2019-09-03 01:07:33.054 Detail, Node008, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2019-09-03 01:07:33.054 Detail, Node008, Queuing (Send) UserCodeCmd_Set (Node=8): 0x01, 0x0f, 0x00, 0x13, 0x08, 0x08, 0x63, 0x01, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x25, 0x57, 0xf0
2019-09-03 01:07:33.054 Detail, Node008, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_USER_CODE
2019-09-03 01:07:33.054 Detail, Node008, Queuing (Send) UserCodeCmd_Get (Node=8): 0x01, 0x0a, 0x00, 0x13, 0x08, 0x03, 0x63, 0x02, 0x02, 0x25, 0x58, 0xf3
2019-09-03 01:07:33.054 Detail,
2019-09-03 01:07:33.054 Info, Node008, Processing (Send) Nonce Request message (Callback ID=0x57, Expected Reply=0x13)
2019-09-03 01:07:33.054 Info, Node008, Sending (Send) message (Callback ID=0x57, Expected Reply=0x13) - Nonce_Get(UserCodeCmd_Set) - 0x01, 0x09, 0x00, 0x13, 0x08, 0x02, 0x98, 0x40, 0x05, 0x02:
2019-09-03 01:07:33.059 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-09-03 01:07:33.059 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2019-09-03 01:07:34.497 Detail, Node008, Received: 0x01, 0x05, 0x00, 0x13, 0x02, 0x00, 0xeb
2019-09-03 01:07:34.497 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2019-09-03 01:07:34.497 Info, Node008, Request RTT 1443 Average Request RTT 1131
2019-09-03 01:07:34.582 Detail, Node008, Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x08, 0x0a, 0x98, 0x80, 0x83, 0x4b, 0x41, 0xe8, 0x3a, 0x0e, 0x6a, 0xd9, 0x17
2019-09-03 01:07:34.582 Info, Node008, Received SecurityCmd_NonceReport from node 8
2019-09-03 01:07:34.582 Info, Node008, Sending (Send) message (Callback ID=0x59, Expected Reply=0x13) - UserCodeCmd_Set (Node=8): 0x01, 0x0f, 0x00, 0x13, 0x08, 0x08, 0x63, 0x01, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x25, 0x59, 0xfe
2019-09-03 01:07:34.591 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-09-03 01:07:34.591 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2019-09-03 01:07:34.750 Detail, Node008, Received: 0x01, 0x05, 0x00, 0x13, 0x59, 0x00, 0xb0
2019-09-03 01:07:34.750 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x59 received (expected 0x59)
2019-09-03 01:07:34.750 Info, Node008, Request RTT 1696 Average Request RTT 1413
2019-09-03 01:07:34.750 Detail, Expected callbackId was received
2019-09-03 01:07:34.750 Detail, Expected reply was received
2019-09-03 01:07:34.750 Detail, Message transaction complete
2019-09-03 01:07:34.750 Detail,
2019-09-03 01:07:34.750 Detail, Node008, Removing current message
2019-09-03 01:07:34.750 Detail,
2019-09-03 01:07:34.750 Info, Node008, Processing (Send) Nonce Request message (Callback ID=0x58, Expected Reply=0x04)
2019-09-03 01:07:34.750 Info, Node008, Sending (Send) message (Callback ID=0x58, Expected Reply=0x04) - Nonce_Get(UserCodeCmd_Get) - 0x01, 0x09, 0x00, 0x13, 0x08, 0x02, 0x98, 0x40, 0x05, 0x02:
2019-09-03 01:07:34.757 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-09-03 01:07:34.757 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2019-09-03 01:07:34.830 Detail, Node008, Received: 0x01, 0x05, 0x00, 0x13, 0x02, 0x00, 0xeb
2019-09-03 01:07:34.830 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x02 received (expected 0x02)
2019-09-03 01:07:34.830 Info, Node008, Request RTT 79 Average Request RTT 746
2019-09-03 01:07:34.912 Detail, Node008, Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x08, 0x0a, 0x98, 0x80, 0xca, 0x4b, 0x70, 0x4b, 0x63, 0x97, 0xfe, 0x68, 0x29
2019-09-03 01:07:34.912 Info, Node008, Received SecurityCmd_NonceReport from node 8
2019-09-03 01:07:34.912 Info, Node008, Sending (Send) message (Callback ID=0x5a, Expected Reply=0x04) - UserCodeCmd_Get (Node=8): 0x01, 0x0a, 0x00, 0x13, 0x08, 0x03, 0x63, 0x02, 0x02, 0x25, 0x5a, 0xf1
2019-09-03 01:07:34.921 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-09-03 01:07:34.921 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2019-09-03 01:07:35.038 Detail, Node008, Received: 0x01, 0x05, 0x00, 0x13, 0x5a, 0x00, 0xb3
2019-09-03 01:07:35.038 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x5a received (expected 0x5a)
2019-09-03 01:07:35.038 Info, Node008, Request RTT 288 Average Request RTT 517
2019-09-03 01:07:35.038 Detail, Expected callbackId was received
2019-09-03 01:07:35.734 Detail, Node008, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x08, 0x02, 0x98, 0x40, 0x21
2019-09-03 01:07:35.734 Info, Node008, Received SecurityCmd_NonceGet from node 8
2019-09-03 01:07:35.734 Info, NONCES: 0xa2, 0x92, 0xc2, 0x4b, 0x1c, 0xd0, 0x7e, 0x44
2019-09-03 01:07:35.734 Info, NONCES: 0x42, 0xd4, 0x24, 0x47, 0x4c, 0x66, 0x6f, 0x25
2019-09-03 01:07:35.734 Info, NONCES: 0x85, 0x29, 0xc1, 0x33, 0x32, 0xd3, 0xbf, 0x53
2019-09-03 01:07:35.734 Info, NONCES: 0xab, 0x93, 0x82, 0x06, 0xc1, 0x84, 0xca, 0x2d
2019-09-03 01:07:35.734 Info, NONCES: 0xa3, 0xab, 0x5e, 0xfb, 0x27, 0x30, 0x47, 0xbc
2019-09-03 01:07:35.734 Info, NONCES: 0x4d, 0xf0, 0xa7, 0x81, 0x7f, 0x44, 0x6a, 0x76
2019-09-03 01:07:35.734 Info, NONCES: 0x75, 0xf0, 0x72, 0xa0, 0xc3, 0xfa, 0x1f, 0xb4
2019-09-03 01:07:35.734 Info, NONCES: 0x7c, 0x0c, 0x36, 0x73, 0xf7, 0x8e, 0xf5, 0xb1
2019-09-03 01:07:35.734 Info, Node008, Sending (Send) message (Callback ID=0x01, Expected Reply=0x04) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x08, 0x0a, 0x98, 0x80, 0xab, 0x93, 0x82, 0x06, 0xc1, 0x84, 0xca, 0x2d, 0x05, 0x01, 0xfd:
2019-09-03 01:07:35.741 Detail, Node008, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-09-03 01:07:35.741 Detail, Node008, ZW_SEND_DATA delivered to Z-Wave stack
2019-09-03 01:07:35.872 Detail, Node008, Received: 0x01, 0x05, 0x00, 0x13, 0x01, 0x00, 0xe8
2019-09-03 01:07:35.872 Detail, Node008, ZW_SEND_DATA Request with callback ID 0x01 received (expected 0x01)
2019-09-03 01:07:35.872 Info, Node008, Request RTT 1122 Average Request RTT 819
2019-09-03 01:07:35.962 Detail, Node008, Received: 0x01, 0x24, 0x00, 0x04, 0x00, 0x08, 0x1e, 0x98, 0x81, 0x69, 0xf6, 0xf6, 0x81, 0x3c, 0x8f, 0xde, 0xd3, 0x27, 0xfa, 0xcb, 0xa4, 0x21, 0x9b, 0x5e, 0x3f, 0x98, 0xdd, 0x00, 0xab, 0x7f, 0x1f, 0x6e, 0x90, 0xf4, 0x3d, 0xf7, 0xfc, 0x5d
2019-09-03 01:07:35.962 Info, Raw: 0x98, 0x81, 0x69, 0xf6, 0xf6, 0x81, 0x3c, 0x8f, 0xde, 0xd3, 0x27, 0xfa, 0xcb, 0xa4, 0x21, 0x9b, 0x5e, 0x3f, 0x98, 0xdd, 0x00, 0xab, 0x7f, 0x1f, 0x6e, 0x90, 0xf4, 0x3d, 0xf7, 0xfc, 0x5d
2019-09-03 01:07:35.962 Detail, Node008, Decrypted Packet: 0x00, 0x71, 0x05, 0x71, 0x03, 0x00, 0xff, 0x06, 0x0f, 0x00, 0x00
2019-09-03 01:07:35.962 Detail,
2019-09-03 01:07:35.962 Info, Node008, Response RTT 1212 Average Response RTT 1311
2019-09-03 01:07:35.962 Info, Node008, Received Alarm report: type=113, level=3, sensorSrcID=0, type:Access Control event:15, status=255
2019-09-03 01:07:35.962 Detail, Node008, Refreshed Value: old value=0, new value=113, type=byte
2019-09-03 01:07:35.962 Detail, Node008, Changes to this value are not verified
2019-09-03 01:07:35.962 Detail, Node008, Setting Encryption Flag on Message For Command Class COMMAND_CLASS_DOOR_LOCK
2019-09-03 01:07:35.962 Detail, Node008, Queuing (Send) DoorLockCmd_Get (Node=8): 0x01, 0x09, 0x00, 0x13, 0x08, 0x02, 0x62, 0x02, 0x25, 0x5b, 0xf1
2019-09-03 01:07:35.962 Detail, Node008, Refreshed Value: old value=0, new value=3, type=byte
2019-09-03 01:07:35.962 Detail, Node008, Changes to this value are not verified
2019-09-03 01:07:35.962 Detail, Node008, Refreshed Value: old value=0, new value=0, type=byte
2019-09-03 01:07:35.962 Detail, Node008, Changes to this value are not verified
2019-09-03 01:07:35.962 Detail, Node008, Refreshed Value: old value=1, new value=15, type=byte
2019-09-03 01:07:35.962 Detail, Node008, Changes to this value are not verified
2019-09-03 01:07:35.962 Detail, Node008, Notification: ValueChanged
2019-09-03 01:07:35.966 Detail, Node008, Notification: ValueChanged
2019-09-03 01:07:35.969 Detail, Node008, Notification: ValueChanged
2019-09-03 01:07:35.971 Detail, Node008, Notification: ValueChanged