add support and examples for deferred state report responses
This commit is contained in:
parent
f4d07b589c
commit
61b032c889
8 changed files with 147 additions and 25 deletions
|
|
@ -54,7 +54,7 @@ const deviceData = {
|
|||
thermostat.on("ReportState", (payload) => {
|
||||
// console.log("ReportState received!", payload);
|
||||
|
||||
const { correlationToken } = payload;
|
||||
const { correlationToken } = payload.header;
|
||||
|
||||
let status = thermostat.getStatusMessage(correlationToken);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue