Hide "PTZ is not available on this camera" warning (#26649)
* Hide "PTZ is not available" warning * Change log level to "debug"pull/26736/head
parent
fe5a4cef7f
commit
9cd5c5471d
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue