From aab3fcad7b1664153b5718eb69aec57dbdde8203 Mon Sep 17 00:00:00 2001 From: Alexey Zimarev Date: Tue, 31 May 2022 16:35:29 +0200 Subject: [PATCH] SmartThings issue with unique_id (#72715) Co-authored-by: Jan Bouwhuis --- homeassistant/components/smartthings/smartapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/smartthings/smartapp.py b/homeassistant/components/smartthings/smartapp.py index 28b60b57447..fbd63d41373 100644 --- a/homeassistant/components/smartthings/smartapp.py +++ b/homeassistant/components/smartthings/smartapp.py @@ -405,7 +405,7 @@ async def _continue_flow( ( flow for flow in hass.config_entries.flow.async_progress_by_handler(DOMAIN) - if flow["context"]["unique_id"] == unique_id + if flow["context"].get("unique_id") == unique_id ), None, )