diff --git a/custom_components/solaredge_modbus_multi/__init__.py b/custom_components/solaredge_modbus_multi/__init__.py index 38b67095..8084b9b7 100644 --- a/custom_components/solaredge_modbus_multi/__init__.py +++ b/custom_components/solaredge_modbus_multi/__init__.py @@ -234,11 +234,11 @@ async def _refresh_modbus_data_with_retry( _LOGGER.debug(f"No more data refresh attempts (maximum {limit})") raise ex - _LOGGER.debug(f"Failed data refresh attempt #{attempt}") + _LOGGER.debug(f"Failed data refresh attempt {attempt}") attempt += 1 _LOGGER.debug( - f"Waiting {wait_ms} ms before data refresh attempt #{attempt}" + f"Waiting {wait_ms} ms before data refresh attempt {attempt}" ) await asyncio.sleep(wait_ms / 1000) wait_ms *= wait_ratio