Open kostya-fr opened 1 month ago
@kostya-fr @SwitchBot
Same error with the API 1.0 which I have always used correctly via cur and also with the contrib nodered contrib
node-red-contrib-switchbot-api version 0.1.4
Now I am not able to use it via curl or even with nodered, there is a problem retrieving the device list.
curl -X GET https://api.switch-bot.com/v1.0/devices -H "Authorization: <your-api-token>" -H "Content-Type: application/json; charset=utf8"
Answer
{"statusCode":190,"body":{},"message":"Cannot read properties of undefined (reading 'device_type')"}
Thanks in advance
Analysis
Can't create a new pass code for Keypad. Here my request :
Response :
Expected Behavior
I'm pretty sure few months ago I could do this. I expect this output :
Steps To Reproduce
Logs
Configuration
Here My keypad response on GET https://api.switch-bot.com/v1.1/devices/KEYPAD_ID/status:
Environment
Keypad firmware V1.8
Additional Context
Looks similar to #307 but I'm using V1.1. No response