-
Notifications
You must be signed in to change notification settings - Fork 17
Cannot Read property 'airState.operation' of undefined #10
Comments
I have the exact same error. Different model AC [5/21/2020, 14:29:14] [LgThinqAirConditioner] Initiating auth with provided redirect URL |
I believe this is the same issue as #4, but I'm a bit confused why the same LP1419IVSM model would see this issue. To confirm, could you both enable Debug mode and attach the log line that mentions "device response"? Also, the "LG ThinQ" app is what you have installed on your phone, right? To enable debug mode, start with |
Unhandled promise rejection error has been fixed in 0.3.6 |
Thanks @sman591 Confirmed that's fixed and alows me to progress. Separate problem now, will create a new issue |
@sman591 , here you go. (Note: this is on v0.3.6) 5/21/2020, 12:22:30] [LgThinqAirConditioner] device response { |
Hello
[5/20/2020, 06:46:18] [LgThinqAirConditioner] Failed to set power state on Error: Request failed with status code 400
(node:979) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
at createError (/usr/local/lib/node_modules/homebridge-lg-thinq-ac/node_modules/axios/lib/core/createError.js:16:15)
at settle (/usr/local/lib/node_modules/homebridge-lg-thinq-ac/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/homebridge-lg-thinq-ac/node_modules/axios/lib/adapters/http.js:236:11)
at IncomingMessage.emit (events.js:322:22)
at endReadableNT (_stream_readable.js:1187:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:979) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)[5/20/2020, 06:46:44] [LgThinqAirConditioner] Error parsing power state TypeError: Cannot read property 'airState.operation' of undefined
[5/20/2020, 06:46:44] [LgThinqAirConditioner] Error during interval update TypeError: Cannot read property 'airState.tempState.current' of undefined
The text was updated successfully, but these errors were encountered: