Skip to content

Commit

Permalink
fix: adjust camera log messages to info level (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 authored Nov 20, 2024
1 parent acea8e4 commit 5a4f9f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/mail_and_packages/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def async_camera_image(
file = await self.hass.async_add_executor_job(open, self._file_path, "rb")
return file.read()
except FileNotFoundError:
_LOGGER.warning(
_LOGGER.info(
"Could not read camera %s image from file: %s",
self._name,
self._file_path,
Expand All @@ -125,7 +125,7 @@ async def async_camera_image(
def check_file_path_access(self, file_path: str) -> None:
"""Check that filepath given is readable."""
if not os.access(file_path, os.R_OK):
_LOGGER.warning(
_LOGGER.info(
"Could not read camera %s image from file: %s", self._name, file_path
)

Expand Down

0 comments on commit 5a4f9f6

Please sign in to comment.