FutureTense / keymaster

Home Assistant integration for managing Z-Wave enabled locks
MIT License
218 stars 44 forks source link

ISSUE: Error on Line 39 in entrance_keymaster_common.yaml #308

Closed skiman384 closed 1 year ago

skiman384 commented 1 year ago

Describe the bug When viewing the entrance_keymaster_common.yaml file in Studio Code Server, an error seems to be present. I noticed this while attempting to add a user (which isn't working, and then resetting a user code (which also does not work).

Environment (please complete the following information):

Logs Subscribed to Z-Wave JS Log Messages… 2022-11-15T02:47:03.483Z SERIAL » 0x0109001327029840258ab7 (11 bytes) 2022-11-15T02:47:03.484Z DRIVER » [Node 039] [REQ] [SendData] │ transmit options: 0x25 │ callback id: 138 └─[SecurityCCNonceGet] 2022-11-15T02:47:03.486Z SERIAL « [ACK] (0x06) 2022-11-15T02:47:03.493Z SERIAL « 0x0104011301e8 (6 bytes) 2022-11-15T02:47:03.494Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:03.494Z DRIVER « [RES] [SendData] was sent: true 2022-11-15T02:47:04.886Z SERIAL « 0x010500138a0063 (7 bytes) 2022-11-15T02:47:04.887Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:04.889Z DRIVER « [REQ] [SendData] callback id: 138 transmit status: OK 2022-11-15T02:47:04.935Z SERIAL « 0x0110000400270a98803d5d3543b35b06cee8 (18 bytes) 2022-11-15T02:47:04.936Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:04.936Z DRIVER « [Node 039] [REQ] [ApplicationCommand] └─[SecurityCCNonceReport] nonce: 0x3d5d3543b35b06ce 2022-11-15T02:47:04.939Z SERIAL » 0x01260013271f988145c764b8f22568d7304f54507a61b87b4197ffa83d5819ae6 (40 bytes) 4be9c608d258b28 2022-11-15T02:47:04.940Z DRIVER » [Node 039] [REQ] [SendData] │ transmit options: 0x25 │ callback id: 139 └─[SecurityCCCommandEncapsulation] │ nonce id: 61 └─[UserCodeCCExtendedUserCodeSet] code #4: **** (status: Enabled) 2022-11-15T02:47:04.944Z SERIAL « [ACK] (0x06) 2022-11-15T02:47:04.949Z SERIAL « 0x0104011301e8 (6 bytes) 2022-11-15T02:47:04.950Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:04.950Z DRIVER « [RES] [SendData] was sent: true 2022-11-15T02:47:05.049Z SERIAL « 0x010500138b0062 (7 bytes) 2022-11-15T02:47:05.049Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:05.050Z DRIVER « [REQ] [SendData] callback id: 139 transmit status: OK 2022-11-15T02:47:06.058Z SERIAL » 0x0109001327029840258cb1 (11 bytes) 2022-11-15T02:47:06.059Z DRIVER » [Node 039] [REQ] [SendData] │ transmit options: 0x25 │ callback id: 140 └─[SecurityCCNonceGet] 2022-11-15T02:47:06.061Z SERIAL « [ACK] (0x06) 2022-11-15T02:47:06.065Z SERIAL « 0x0104011301e8 (6 bytes) 2022-11-15T02:47:06.065Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:06.066Z DRIVER « [RES] [SendData] was sent: true 2022-11-15T02:47:08.723Z SERIAL « 0x010500138c0065 (7 bytes) 2022-11-15T02:47:08.724Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:08.725Z DRIVER « [REQ] [SendData] callback id: 140 transmit status: OK 2022-11-15T02:47:08.772Z SERIAL « 0x0110000400270a9880dcf063413b694b68a1 (18 bytes) 2022-11-15T02:47:08.773Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:08.773Z DRIVER « [Node 039] [REQ] [ApplicationCommand] └─[SecurityCCNonceReport] nonce: 0xdcf063413b694b68 2022-11-15T02:47:08.777Z SERIAL » 0x011e0013271798816a2088c86fd6eeb28398ebeedcb471c1d8ab5e3fae258de6 (32 bytes) 2022-11-15T02:47:08.778Z DRIVER » [Node 039] [REQ] [SendData] │ transmit options: 0x25 │ callback id: 141 └─[SecurityCCCommandEncapsulation] │ nonce id: 220 └─[UserCodeCCGet] user id: 4 2022-11-15T02:47:08.782Z SERIAL « [ACK] (0x06) 2022-11-15T02:47:08.786Z SERIAL « 0x0104011301e8 (6 bytes) 2022-11-15T02:47:08.787Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:08.787Z DRIVER « [RES] [SendData] was sent: true 2022-11-15T02:47:08.885Z SERIAL « 0x010500138d0064 (7 bytes) 2022-11-15T02:47:08.886Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:08.886Z DRIVER « [REQ] [SendData] callback id: 141 transmit status: OK 2022-11-15T02:47:09.020Z SERIAL « 0x0108000400270298400e (10 bytes) 2022-11-15T02:47:09.021Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:09.024Z DRIVER « [Node 039] [REQ] [ApplicationCommand] └─[SecurityCCNonceGet] 2022-11-15T02:47:09.030Z SERIAL » 0x01110013270a988014a237959e24b4d0058e89 (19 bytes) 2022-11-15T02:47:09.031Z DRIVER » [Node 039] [REQ] [SendData] │ transmit options: 0x05 │ callback id: 142 └─[SecurityCCNonceReport] nonce: 0x14a237959e24b4d0 2022-11-15T02:47:09.035Z SERIAL « [ACK] (0x06) 2022-11-15T02:47:09.038Z SERIAL « 0x0104011301e8 (6 bytes) 2022-11-15T02:47:09.038Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:09.038Z DRIVER « [RES] [SendData] was sent: true 2022-11-15T02:47:09.130Z SERIAL « 0x010500138e0067 (7 bytes) 2022-11-15T02:47:09.131Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:09.131Z DRIVER « [REQ] [SendData] callback id: 142 transmit status: OK 2022-11-15T02:47:09.186Z SERIAL « 0x011e0004002718988184623c67d9d2330471f227840814ba31755ad4b2c9b8cd (32 bytes) 2022-11-15T02:47:09.187Z SERIAL » [ACK] (0x06) 2022-11-15T02:47:09.189Z CNTRLR [Node 039] [~] [User Code] userIdStatus[4]: 0 => 0 [Endpoint 0] 2022-11-15T02:47:09.189Z DRIVER « [Node 039] [REQ] [ApplicationCommand] └─[SecurityCCCommandEncapsulation] │ sequenced: false └─[UserCodeCCReport] user id: 4 id status: Available user code: (empty)

Screenshots image

Additional context Noticed as I am unable to reset user codes. I am also unable to add user codes, but that will be a separate issue.

firstof9 commented 1 year ago

If you are not getting an error in Home Assistant, there's no problem here.

glblthermonuclearwar commented 1 year ago

I am also having this same problem. @firstof9 I see your comment, but I can't help but wonder how to fix this so the error isn't thrown.

firstof9 commented 1 year ago

Fix your parser in your editor.