Fix: Passes secure parameter when setting up Nuki (#36844) (#37932)

* Passes secure parameter when setting up Nuki (#36844)

* Adds an additional configuration option for soft bridges instead of passing True when setting up the bridge

* Revert "Adds an additional configuration option for soft bridges instead of passing True when setting up the bridge"

This reverts commit af1d839ab1c130535c5a31ee60e35d3b2c151c5b.
This commit is contained in:
Tim Messerschmidt authored and Paulus Schoutsen committed 2020-07-18 23:37:48 +00:00
1 parent 253950f84f
commit 757d05a74e
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ LOCK_N_GO_SERVICE_SCHEMA = vol.Schema(
def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up the Nuki lock platform."""
bridge = NukiBridge(
config[CONF_HOST], config[CONF_TOKEN], config[CONF_PORT], DEFAULT_TIMEOUT,
config[CONF_HOST], config[CONF_TOKEN], config[CONF_PORT], True, DEFAULT_TIMEOUT,
)
devices = [NukiLockEntity(lock) for lock in bridge.locks]