mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
https false
This commit is contained in:
parent
bbf8420d80
commit
ebc0ffd879
@ -76,7 +76,8 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
hikvision_cam = hikvision.api.CreateDevice(
|
hikvision_cam = hikvision.api.CreateDevice(
|
||||||
host, port=port, username=username, password=password)
|
host, port=port, username=username,
|
||||||
|
password=password, is_https=False)
|
||||||
except MissingParamError as param_err:
|
except MissingParamError as param_err:
|
||||||
_LOGGING.error("Missing required param: %s", param_err)
|
_LOGGING.error("Missing required param: %s", param_err)
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user