diff --git a/homeassistant/components/growatt_server/__init__.py b/homeassistant/components/growatt_server/__init__.py index ae3fca5da41..d20dd55bf74 100644 --- a/homeassistant/components/growatt_server/__init__.py +++ b/homeassistant/components/growatt_server/__init__.py @@ -37,7 +37,6 @@ def get_device_list_classic( login_response = api.login(config[CONF_USERNAME], config[CONF_PASSWORD]) # DEBUG: Log the actual response structure except Exception as ex: - _LOGGER.error("DEBUG - Login response: %s", login_response) raise ConfigEntryError( f"Error communicating with Growatt API during login: {ex}" ) from ex diff --git a/homeassistant/components/growatt_server/coordinator.py b/homeassistant/components/growatt_server/coordinator.py index 2f00c542c13..9756a7b57b4 100644 --- a/homeassistant/components/growatt_server/coordinator.py +++ b/homeassistant/components/growatt_server/coordinator.py @@ -113,9 +113,6 @@ class GrowattCoordinator(DataUpdateCoordinator[dict[str, Any]]): min_settings = self.api.min_settings(self.device_id) min_energy = self.api.min_energy(self.device_id) except growattServer.GrowattV1ApiError as err: - _LOGGER.error( - "Error fetching min device data for %s: %s", self.device_id, err - ) raise UpdateFailed(f"Error fetching min device data: {err}") from err min_info = {**min_details, **min_settings, **min_energy} @@ -180,7 +177,6 @@ class GrowattCoordinator(DataUpdateCoordinator[dict[str, Any]]): try: return await self.hass.async_add_executor_job(self._sync_update_data) except json.decoder.JSONDecodeError as err: - _LOGGER.error("Unable to fetch data from Growatt server: %s", err) raise UpdateFailed(f"Error fetching data: {err}") from err def get_currency(self): diff --git a/homeassistant/components/growatt_server/quality_scale.yaml b/homeassistant/components/growatt_server/quality_scale.yaml index 6b2b1c85d88..f49f109fcfb 100644 --- a/homeassistant/components/growatt_server/quality_scale.yaml +++ b/homeassistant/components/growatt_server/quality_scale.yaml @@ -32,9 +32,7 @@ rules: status: todo comment: Replace bare Exception catches in __init__.py with specific growattServer exceptions. integration-owner: done - log-when-unavailable: - status: todo - comment: Remove _LOGGER.error calls in coordinator.py when raising UpdateFailed (choose one, not both). + log-when-unavailable: done parallel-updates: done reauthentication-flow: todo test-coverage: todo