Hide "PTZ is not available on this camera" warning (#26649)
* Hide "PTZ is not available" warning * Change log level to "debug"
This commit is contained in:
1 parent
fe5a4cef7f
commit
9cd5c5471d
1 file changed
+1
-1
@@ -282,7 +282,7 @@ class ONVIFHassCamera(Camera):
|
||||
"""Set up PTZ if available."""
|
||||
_LOGGER.debug("Setting up the ONVIF PTZ service")
|
||||
if self._camera.get_service("ptz", create=False) is None:
|
||||
_LOGGER.warning("PTZ is not available on this camera")
|
||||
_LOGGER.debug("PTZ is not available")
|
||||
else:
|
||||
self._ptz_service = self._camera.create_ptz_service()
|
||||
_LOGGER.debug("Completed set up of the ONVIF camera component")
|
||||
|
||||
Reference in new issue
Block a user