From 5168fe91eddbac259ea5c70e328259c7a9fea62c Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Thu, 24 Sep 2020 20:44:42 +0200 Subject: [PATCH] fix title --- custom_components/adaptive_lighting/config_flow.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/custom_components/adaptive_lighting/config_flow.py b/custom_components/adaptive_lighting/config_flow.py index 67b772d5..a59d00ec 100644 --- a/custom_components/adaptive_lighting/config_flow.py +++ b/custom_components/adaptive_lighting/config_flow.py @@ -79,9 +79,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow): if user_input is not None: validate_options(user_input, errors) if not errors: - return self.async_create_entry( - title=user_input["name"], data=user_input - ) + return self.async_create_entry(title="", data=user_input) all_lights = cv.multi_select(self.hass.states.async_entity_ids("light")) validation_tuples = copy(VALIDATION_TUPLES)