{
"method": "hub.items.list",
"id": "_ID_",
"params": {}
}
{
"api": "1.0",
"error": null,
"id": "_ID_",
"result": {
"items": [
{
"_id": "5cef9bf17f00007937ab8015",
"deviceId": "5cef9bf17f00007937ab8013",
"deviceName": "_DEVICE_NAME_",
"deviceArmed": false,
"enum": [
"idle",
"heating",
"cooling",
"fan_only",
"vent_economizer",
"aux_heating",
"2nd_stage_heating",
"2nd_stage_cooling"
],
"hasGetter": true,
"hasSetter": false,
"name": "thermostat_operating_state",
"show": true,
"type": "token",
"value": "idle",
"valueFormatted": "idle",
"elementsMaxNumber": 2,
"userCodeRestriction": "\d{4}"
}
]
}
}