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:
Paulus Schoutsen committed 2019-04-19 17:05:44 -07:00
1 parent 15c1213928
commit d0c6f0b710
15 files changed
+290 -138

No files matched your search

+1 -1
View File
@@ -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