@ -33,7 +33,7 @@ def monitor_ups(logger):
client = PyNUTClient()
try:
ups_status = client.list_vars('ups')
return{
return {
ups_status.get('ups.status'),
'battery_charge': float(ups_status.get('battery.charge'))
}
The note is not visible to the blocked user.