diff --git a/custom_components/battery_sim/__init__.py b/custom_components/battery_sim/__init__.py index d5bd4a8..77cb4c3 100644 --- a/custom_components/battery_sim/__init__.py +++ b/custom_components/battery_sim/__init__.py @@ -294,7 +294,7 @@ def async_import_reading(self, event): self._last_export_reading = 0.0 def updateBattery(self, import_amount, export_amount): - _LOGGER.debug("Battery update event (%s). Import: %s, Export: %s", self._name, round(import_amount,4), round,(export_amount,4)) + _LOGGER.debug("Battery update event (%s). Import: %s, Export: %s", self._name, round(import_amount,4), round(export_amount,4)) if self._charge_state=='unknown': self._charge_state = 0.0 """Calculate maximum possible discharge based on battery specifications and time since last discharge"""