Closed lintegras closed 9 months ago
Additional note - I updated node.js to v20.11.0 and that did not impact the issue.
@lintegras I published 1.12.4, which should prevent this error. But something seems wrong with your device to get this error, On
should never be undefined
. In the response, it even looks normal, so I'm unsure why Homebridge read the value as undefined. Let me know if 1.12.4 works better, and if not, we'll have to investigate some more.
@pschroeder89 evidence on my end indicates the changes you made have resolved this issue. I realized after you mentioned there must be an issue with my device that the humidity sensor on the device is no longer reporting a value back (always shows 0%) in the native app; this may have contributed to the error.
Thank you for the quick investigation and resolution to this one-off problem.
Describe The Bug: This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://homebridge.io/w/JtMGR for more info.
NOTE: I do have a Levoit purifier and humidifier; device discovery pulls both successfully. I am unsure if the error is associated to the purifier.
To Reproduce: Load and configure plugin, launch Homebridge.
Expected behavior: Absence of warning in logs.
Logs:
Plugin Config:
Screenshots:
Environment: