Skip to content

Commit 8f73348

Browse files
committed
Remove redundant logging.
1 parent 9ae8098 commit 8f73348

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

custom_components/rohlikcz/rohlik_api.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ async def logout(self, session) -> None:
165165

166166
if logout_response["status"] != 200:
167167
raise RohlikczError(f"Unknown error occurred during logout: {logout_response}")
168-
else:
169-
_LOGGER.error("Successfully logged out from Rohlik.cz")
170168

171169

172170
except RequestException as err:

custom_components/rohlikcz/sensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ class MonthlySpent(BaseEntity, SensorEntity):
433433
@property
434434
def native_value(self) -> float | None:
435435
"""Returns amount spend within last month."""
436-
_LOGGER.error(self._rohlik_account.data.get('delivered_orders', "[]"))
437436
return calculate_current_month_orders_total(self._rohlik_account.data.get('delivered_orders', []))
438437

439438
@property

0 commit comments

Comments
 (0)