Skip to content

Commit

Permalink
Missing f string
Browse files Browse the repository at this point in the history
  • Loading branch information
WillCodeForCats committed Jul 14, 2023
1 parent fa54bef commit 6c1a525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/solaredge_modbus_multi/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,7 @@ def native_value(self):

if self._count > self._platform.battery_energy_reset_cycles:
_LOGGER.debug(
"B_Export_Energy reset at cycle {self._count}"
f"B_Export_Energy reset at cycle {self._count}"
)
self._last = None
self._count = 0
Expand Down Expand Up @@ -1901,7 +1901,7 @@ def native_value(self):

if self._count > self._platform.battery_energy_reset_cycles:
_LOGGER.debug(
"B_Import_Energy reset at cycle {self._count}"
f"B_Import_Energy reset at cycle {self._count}"
)
self._last = None
self._count = 0
Expand Down

0 comments on commit 6c1a525

Please sign in to comment.