mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Always try PullPoint with ONVIF (#96377)
This commit is contained in:
parent
7da8e0295e
commit
38630f7898
@ -387,8 +387,12 @@ class ONVIFDevice:
|
|||||||
"WSPullPointSupport"
|
"WSPullPointSupport"
|
||||||
)
|
)
|
||||||
LOGGER.debug("%s: WSPullPointSupport: %s", self.name, pull_point_support)
|
LOGGER.debug("%s: WSPullPointSupport: %s", self.name, pull_point_support)
|
||||||
|
# Even if the camera claims it does not support PullPoint, try anyway
|
||||||
|
# since at least some AXIS and Bosch models do. The reverse is also
|
||||||
|
# true where some cameras claim they support PullPoint but don't so
|
||||||
|
# the only way to know is to try.
|
||||||
return await self.events.async_start(
|
return await self.events.async_start(
|
||||||
pull_point_support is not False,
|
True,
|
||||||
self.config_entry.options.get(
|
self.config_entry.options.get(
|
||||||
CONF_ENABLE_WEBHOOKS, DEFAULT_ENABLE_WEBHOOKS
|
CONF_ENABLE_WEBHOOKS, DEFAULT_ENABLE_WEBHOOKS
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user