From d505f1c5f23dbf52eccf8ebd9a35b3af63d291e5 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 23 Apr 2019 13:13:00 -0700 Subject: [PATCH] Always set latest pin (#23328) --- homeassistant/components/cloud/client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/homeassistant/components/cloud/client.py b/homeassistant/components/cloud/client.py index aedd71bd9ac..5bbd7bb48fa 100644 --- a/homeassistant/components/cloud/client.py +++ b/homeassistant/components/cloud/client.py @@ -106,6 +106,10 @@ class CloudClient(Interface): entity_config=google_conf.get(CONF_ENTITY_CONFIG), ) + # Set it to the latest. + self._google_config.secure_devices_pin = \ + self._prefs.google_secure_devices_pin + return self._google_config @property