2022.2 API correction for increase/decrease HeatSetpoint
Posted: Wed Mar 08, 2023 5:00 am
I am working with the Indigo 2022.2 API documentation and came across a couple of examples that I believe use an invalid parameter key.
the parameter key for both of these should reflect 'delta', just like the decreaseCoolSetpoint and increaseCoolSetpoint examples.
the parameter key for both of these should reflect 'delta', just like the decreaseCoolSetpoint and increaseCoolSetpoint examples.
- Code: Select all
{
"id": "optional-user-generated-id",
"message": "indigo.thermostat.decreaseHeatSetpoint",
"objectId": 123456789,
"parameters": {
"value": 2
}
}
{
"id": "optional-user-generated-id",
"message": "indigo.thermostat.increaseHeatSetpoint",
"objectId": 123456789,
"parameters": {
"value": 2
}
}
{"id":"- no message id -","validationErrors":{"value":"invalid parameter key"},"error":"invalid command payload received, id: '- no message id -'"}