Skip to content

Commit

Permalink
Update sensor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Danieldiazi authored Dec 9, 2024
1 parent cec2d7b commit c4f09fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/honda_recall_check/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ async def async_update(self):
try:
self._recalls = await self.hass.async_add_executor_job(self._api.check_recall)
except HondaRecallAPIError as e:
# Aquí podemos hacer un log del error si queremos.
# logger.error(f"Error al obtener recalls: {e}")
logger.error(f"Error al obtener recalls: {e}")
self._recalls = []


Expand Down

0 comments on commit c4f09fb

Please sign in to comment.