* 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 af1d839ab1
.
This commit is contained in:
parent
7c9be024bb
commit
0297c9e612
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ LOCK_N_GO_SERVICE_SCHEMA = vol.Schema(
|
||||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||||
"""Set up the Nuki lock platform."""
|
"""Set up the Nuki lock platform."""
|
||||||
bridge = NukiBridge(
|
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]
|
devices = [NukiLockEntity(lock) for lock in bridge.locks]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue