devicestatus: set pump.battery.percent

This commit is contained in:
James Woglom
2024-12-12 22:20:13 -05:00
parent fb9588ff2c
commit d1341e09c0
3 changed files with 10 additions and 6 deletions
@@ -38,7 +38,8 @@ class TestProcessDeviceStatus(unittest.TestCase):
'device': 'Pump (tconnectsync)',
'pump': {
'battery': {
'string': '48%',
'status': '48%',
'percent': 48,
'voltage': 14.08
}
},
@@ -90,7 +91,8 @@ class TestProcessDeviceStatus(unittest.TestCase):
'device': 'Pump (tconnectsync)',
'pump': {
'battery': {
'string': '47%',
'status': '47%',
'percent': 47,
'voltage': 13.824
}
},
@@ -132,7 +134,8 @@ class TestProcessDeviceStatus(unittest.TestCase):
'device': 'Pump (tconnectsync)',
'pump': {
'battery': {
'string': '46%',
'status': '46%',
'percent': 46,
'voltage': 13.568
}
},