adds cell names to the battery rack

This commit is contained in:
Kashargul
2024-08-20 00:46:38 +02:00
committed by GitHub
parent 98e542b484
commit a6627c19dd
3 changed files with 100 additions and 88 deletions
+1
View File
@@ -268,6 +268,7 @@
cell["slot"] = cell_index + 1
cell["used"] = 1
cell["percentage"] = round(C.percent(), 0.01)
cell["name"] = C.name
cell["id"] = C.c_uid
cell_index++
cells += list(cell)