From f9b88c79a0d89cb03a348becfa489efd49ab6619 Mon Sep 17 00:00:00 2001 From: rospogrigio Date: Fri, 27 May 2022 12:54:20 +0200 Subject: [PATCH] Fixed wrong 'already_configured' message when editing entities --- custom_components/localtuya/config_flow.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/localtuya/config_flow.py b/custom_components/localtuya/config_flow.py index 18f9fac..1453321 100644 --- a/custom_components/localtuya/config_flow.py +++ b/custom_components/localtuya/config_flow.py @@ -674,8 +674,6 @@ class LocalTuyaOptionsFlowHandler(config_entries.OptionsFlow): user_input = {NO_ADDITIONAL_ENTITIES: True} return await self.async_step_pick_entity_type(user_input) - errors["base"] = "entity_already_configured" - if self.editing_device: schema = platform_schema( self.current_entity[CONF_PLATFORM], self.dps_strings, allow_id=False