Procházet zdrojové kódy

Remove unneeded connection test.

Jason Rumney před 4 roky
rodič
revize
4982a3079a
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      custom_components/tuya_local/config_flow.py

+ 0 - 1
custom_components/tuya_local/config_flow.py

@@ -92,7 +92,6 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
         """Manage the options."""
         errors = {}
         config = {**self.config_entry.data, **self.config_entry.options}
-        device = await async_test_connection(config, self.hass)
 
         if user_input is not None:
             config = {**config, **user_input}