Ask users for a pin when interacting with locks/garage doors (#23223)
* Ask users for a pin when interacting with locks/garage doors * Deprecate allow_unlock option
This commit is contained in:
1 parent
15c1213928
commit
d0c6f0b710
15 files changed
+290
-138
No files matched your search
@@ -26,7 +26,7 @@ def mock_cloud_prefs(hass, prefs={}):
|
||||
prefs_to_set = {
|
||||
const.PREF_ENABLE_ALEXA: True,
|
||||
const.PREF_ENABLE_GOOGLE: True,
|
||||
const.PREF_GOOGLE_ALLOW_UNLOCK: True,
|
||||
const.PREF_GOOGLE_SECURE_DEVICES_PIN: None,
|
||||
}
|
||||
prefs_to_set.update(prefs)
|
||||
hass.data[cloud.DOMAIN].client._prefs._prefs = prefs_to_set
|
||||
|
||||
Reference in new issue
Block a user