mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
* 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:
committed by
GitHub
parent
7c9be024bb
commit
0297c9e612
@@ -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]
|
||||||
|
Reference in New Issue
Block a user