diff --git a/src/widgets/peanut/component.jsx b/src/widgets/peanut/component.jsx index bf0e0f4d..98aadbed 100644 --- a/src/widgets/peanut/component.jsx +++ b/src/widgets/peanut/component.jsx @@ -24,6 +24,7 @@ export default function Component({ service }) { ); } + // backwards compatibility with peanut v1 if ('battery.charge' in upsData) { upsData.battery_charge = upsData['battery.charge']; }