From cc4e608d712f6d6fce6f7313e6abd5e1be7d3a08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 13 Oct 2019 21:42:17 +0300 Subject: [PATCH] Make it possible to set system options on entry create --- homeassistant/config_entries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 8a40cff1bd525..6a83a5e88cd76 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -599,7 +599,7 @@ async def _async_finish_flow(self, flow, result): title=result["title"], data=result["data"], options={}, - system_options={}, + system_options=result.get("system_options") or {}, source=flow.context["source"], connection_class=flow.CONNECTION_CLASS, )