From e62f7a72b7f1b4d72980b3e67968c018267fb98c Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Tue, 11 Oct 2022 19:28:16 +0400 Subject: Clean up --- custom_components/skykettle/config_flow.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/custom_components/skykettle/config_flow.py b/custom_components/skykettle/config_flow.py index 3a5cdc9..32d1c5d 100644 --- a/custom_components/skykettle/config_flow.py +++ b/custom_components/skykettle/config_flow.py @@ -20,8 +20,6 @@ _LOGGER = logging.getLogger(__name__) class SkyKettleConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): - """Handle a config flow for Wake cv.matches_regexon LAN integration.""" - VERSION = 1 @staticmethod @@ -85,12 +83,6 @@ class SkyKettleConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): { vol.Required(CONF_MAC): vol.In(mac_list) }) - except PermissionError: - _LOGGER.error(traceback.format_exc()) - return self.async_abort(reason='permission_error') - except FileNotFoundError: - _LOGGER.error(traceback.format_exc()) - return self.async_abort(reason='hcitool_not_found') except Exception: _LOGGER.error(traceback.format_exc()) return self.async_abort(reason='unknown') -- cgit v1.2.3