diff --git a/src/RelayBox.ts b/src/RelayBox.ts index 495d879..8fe1b4d 100644 --- a/src/RelayBox.ts +++ b/src/RelayBox.ts @@ -33,9 +33,9 @@ export class RelayBoxThing extends AItem { logger.info(`RT: device: ${status.metadata.device}`) logger.info(`RT: uptime: ${status.data.uptime}`) for (let i : number = 0; i < this.itemNames.length; i ++) { - logger.info(`RT: state: ${status.data.switchstatus[i].state}`) - logger.info(`RT: feedb: ${status.data.switchstatus[i].feedbackState}`) - logger.info(`RT: confl: ${status.data.switchstatus[i].stateConflict}`) + logger.info(`RT: state: ${status.data.switchStates[i].state}`) + logger.info(`RT: feedb: ${status.data.switchStates[i].feedbackState}`) + logger.info(`RT: confl: ${status.data.switchStates[i].stateConflict}`) } } else { logger.info(`RT: ${topic}, ${payload}`)