mirror of
https://github.com/parnic/node-intellicenter.git
synced 2025-06-16 18:20:14 -05:00
Rename Item to Object
The API all calls these objects so best to go with the flow. This is a breaking change.
This commit is contained in:
4
dist/example.js
vendored
4
dist/example.js
vendored
@ -48,10 +48,10 @@ console.log("got response:", JSON.stringify(resp, null, 2));
|
||||
// resp = await unit.send(messages.SetSetpoint("B1202", 97));
|
||||
// console.log("got response:", JSON.stringify(resp, null, 2));
|
||||
// console.log("turning off pool...");
|
||||
// resp = await unit.send(messages.SetItemStatus("B1101", false));
|
||||
// resp = await unit.send(messages.SetObjectStatus("B1101", false));
|
||||
// console.log("got response:", JSON.stringify(resp, null, 2));
|
||||
// console.log("turning off water feature...");
|
||||
// resp = await unit.send(messages.SetItemStatus("C0003", false));
|
||||
// resp = await unit.send(messages.SetObjectStatus("C0003", false));
|
||||
// console.log("got response:", JSON.stringify(resp, null, 2));
|
||||
// console.log("sending Set Heatmode request...");
|
||||
// resp = await unit.send(messages.SetHeatMode("B1202", true));
|
||||
|
Reference in New Issue
Block a user