diff --git a/src/devices/WasherDryer.ts b/src/devices/WasherDryer.ts index 019b84e..003b18d 100644 --- a/src/devices/WasherDryer.ts +++ b/src/devices/WasherDryer.ts @@ -227,7 +227,12 @@ export class WasherDryerStatus { } public get isDoorLocked() { - return this.data.doorLock === this.deviceModel.lookupMonitorName('doorLock', '@CP_ON_EN_W'); + const current = this.deviceModel.lookupMonitorName('doorLock', '@CP_ON_EN_W'); + if (current === null) { + return this.data.doorLock === 'DOORLOCK_ON'; + } + + return this.data.doorLock === current; } public get remainDuration() {