SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

[Keypad Touch] Send lock codes in response to Get Device Status

Open dds82 opened this issue 1 year ago • 1 comments

Current Situation

Currently, the only time the API sends the lock codes is in response to a Get Device List message. It's very inefficient to receive and process full information for every single device when all I really need is an updated list of lock codes. Please add the lock codes to the Device Status response.

Proposed Change

The JSON response to the Device Status request should include the lock codes in the same format as the response to the Get Device List message.

Additional Context

No response

dds82 avatar Apr 08 '24 12:04 dds82

+1 not sure why this is written this way. I do agree it's very inefficient and should be improved to be accessible via the status endpoint instead.

ThatProgrammerr avatar Aug 25 '24 11:08 ThatProgrammerr