Просмотр исходного кода

Remove unneeded connection test.

Jason Rumney 4 лет назад
Родитель
Сommit
4982a3079a
1 измененных файлов с 0 добавлено и 1 удалено
  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}