@mega-yfue/eufy-sdk 0.2.0-beta.23 → 0.2.0-beta.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27314,6 +27314,7 @@ function addSolarbankScalars(frame, out) {
|
|
|
27314
27314
|
const body = frame.fields.get(164)?.subarray(1);
|
|
27315
27315
|
if (body && body.length >= 8 && body[body.length - 6] === soc) {
|
|
27316
27316
|
out.batteryTemperature = body[body.length - 8];
|
|
27317
|
+
out.batteryHealth = body[body.length - 5];
|
|
27317
27318
|
}
|
|
27318
27319
|
}
|
|
27319
27320
|
const b5 = frame.fields.get(181);
|