Skip to content

Commit

Permalink
Merge pull request #45 from epierce78/master
Browse files Browse the repository at this point in the history
fix: unique_identifier and typo
  • Loading branch information
mr-manuel authored Jul 5, 2024
2 parents 9fe9e84 + b5b42e0 commit a53cf4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/dbus-serialbattery/bms/eg4_ll.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def read_cell_data(self):
self.cell_average = cell_average / self.cell_count

if status_hex == "00":
status_code = "Stanby"
status_code = "Standby"
elif status_hex == "01":
status_code = "Charging"
elif status_hex == "02":
Expand Down Expand Up @@ -352,7 +352,7 @@ def read_cell_data(self):
logger.info("===== HW Info =====")
logger.info(f"Battery Make/Model: {str(self.custom_field)}")
logger.info(f"Hardware Version: {str(self.hardware_version)}")
logger.info(f"Serial Number: {str(self.unique_identifier)}")
logger.info(f"Serial Number: {str(self.unique_identifier())}")
logger.info("===== BMS Data =====")
logger.info(
"Cell Total Voltage: "
Expand Down

0 comments on commit a53cf4c

Please sign in to comment.