SwitchBotAPI
SwitchBotAPI copied to clipboard
[Keypad Touch] Send lock codes in response to Get Device Status
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
+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.