mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
onvif: more debug info (#49658)
Signed-off-by: Xuefer <xuefer@gmail.com>
This commit is contained in:
parent
12e2c59a4c
commit
a7eedeeaba
@ -104,8 +104,11 @@ class ONVIFDevice:
|
|||||||
|
|
||||||
# Fetch basic device info and capabilities
|
# Fetch basic device info and capabilities
|
||||||
self.info = await self.async_get_device_info()
|
self.info = await self.async_get_device_info()
|
||||||
|
LOGGER.debug("Camera %s info = %s", self.name, self.info)
|
||||||
self.capabilities = await self.async_get_capabilities()
|
self.capabilities = await self.async_get_capabilities()
|
||||||
|
LOGGER.debug("Camera %s capabilities = %s", self.name, self.capabilities)
|
||||||
self.profiles = await self.async_get_profiles()
|
self.profiles = await self.async_get_profiles()
|
||||||
|
LOGGER.debug("Camera %s profiles = %s", self.name, self.profiles)
|
||||||
|
|
||||||
# No camera profiles to add
|
# No camera profiles to add
|
||||||
if not self.profiles:
|
if not self.profiles:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user