You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to show the status of my dishwasher, I get a crash in currentInputName().
To Reproduce:
Install Plugin
Access account with older dishwasher without steam setting
Expected behavior:
I can see the dishwasher in my home app.
Logs:
[12/29/2023, 10:06:26 PM] [homebridge-lg-thinq] TypeError: Cannot read properties of undefined (reading 'includes')
at Dishwasher.currentInputName (/usr/local/lib/node_modules/homebridge-lg-thinq/src/devices/Dishwasher.ts:410:32)
at ConfiguredName.<anonymous> (/usr/local/lib/node_modules/homebridge-lg-thinq/src/devices/Dishwasher.ts:106:14)
at ConfiguredName.emit (node:events:517:28)
at ConfiguredName.emit (node:domain:489:12)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2463:14
at new Promise (<anonymous>)
at ConfiguredName.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2461:12)
at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
[12/29/2023, 10:06:26 PM] [homebridge-lg-thinq] TypeError: Cannot read properties of undefined (reading 'includes')
at Dishwasher.currentInputName (/usr/local/lib/node_modules/homebridge-lg-thinq/src/devices/Dishwasher.ts:410:32)
at ConfiguredName.<anonymous> (/usr/local/lib/node_modules/homebridge-lg-thinq/src/devices/Dishwasher.ts:115:14)
at ConfiguredName.emit (node:events:517:28)
at ConfiguredName.emit (node:domain:489:12)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2463:14
at new Promise (<anonymous>)
at ConfiguredName.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2461:12)
at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
Describe The Bug:
When trying to show the status of my dishwasher, I get a crash in currentInputName().
To Reproduce:
Expected behavior:
Logs:
Plugin Config:
Notes:
The issue is here in Dishwasher.ts, line 410:
My dishwasher doesn't have a true steam function. A change to the following should fix this particular issue.
Probably should change all of them, but this is the one that is currently crashing for me.
Environment:
The text was updated successfully, but these errors were encountered: