mirror of
https://github.com/home-assistant/core.git
synced 2025-08-11 00:25:12 +02:00
Passes secure parameter when setting up Nuki (#36844)
This commit is contained in:
@@ -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