Skip to content

Commit

Permalink
Update statescontroller.js
Browse files Browse the repository at this point in the history
  • Loading branch information
asgothian committed Jan 11, 2025
1 parent 66464f3 commit 88f7bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/statescontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class StatesController extends EventEmitter {
}

if (this.checkDebugDevice(id))
this.warn(`ELEVATED O1: User state change of state ${id} with value ${state.val} (ack: ${state.ack}) from ${state.from}`);
this.warn(`ELEVATED O01: User state change of state ${id} with value ${state.val} (ack: ${state.ack}) from ${state.from}`);

this.debug(`User stateChange ${id} ${JSON.stringify(state)}`);
const devId = getAdId(this.adapter, id); // iobroker device id
Expand Down Expand Up @@ -211,7 +211,7 @@ class StatesController extends EventEmitter {
this.debug(`Change state '${stateKey}' at device ${deviceId} type '${model}'`);
const elevated = this.checkDebugDevice(deviceId);

if (elevated) this.warn(`ELEVATED O2: Change state '${stateKey}' at device ${deviceId} type '${model}'`);
if (elevated) this.warn(`ELEVATED O02: Change state '${stateKey}' at device ${deviceId} type '${model}'`);

const devStates = await this.getDevStates(deviceId, model);
if (!devStates) {
Expand Down

0 comments on commit 88f7bef

Please sign in to comment.