diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-11 18:28:16 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-11 18:28:16 +0300 |
commit | e62f7a72b7f1b4d72980b3e67968c018267fb98c (patch) | |
tree | cffdb9365012b661c48c33a964e5a4e33bda8013 | |
parent | 73ea1cf6bb0eb1dc51a2ef9ac0ca473c07cea95f (diff) |
Clean up
-rw-r--r-- | custom_components/skykettle/config_flow.py | 8 |
1 files changed, 0 insertions, 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') |