Closed macjl closed 4 years ago
Hello,
I've added the handle of http status code. If the code is greater than 300, the request is processed as an error.
Please review my code. I' not sure about the argument to pass to the 'callback' function in that case.
Regards,
Thx @macjl for code 300 managment. Code is now on npm homebridge-thermostat@0.0.51
homebridge-thermostat@0.0.51
Hello,
I've added the handle of http status code. If the code is greater than 300, the request is processed as an error.
Please review my code. I' not sure about the argument to pass to the 'callback' function in that case.
Regards,