diff --git a/power.py b/power.py index d33a8e7..dcd41ef 100644 --- a/power.py +++ b/power.py @@ -34,7 +34,7 @@ def monitor_ups(logger): try: ups_status = client.list_vars('ups') return { - ups_status.get('ups.status'), + 'status': ups_status.get('ups.status'), 'battery_charge': float(ups_status.get('battery.charge')) } except Exception as e: