diff --git a/homeassistant/components/device_tracker/tplink.py b/homeassistant/components/device_tracker/tplink.py index d80213dd549..560babe3d61 100755 --- a/homeassistant/components/device_tracker/tplink.py +++ b/homeassistant/components/device_tracker/tplink.py @@ -196,7 +196,7 @@ class Tplink3DeviceScanner(TplinkDeviceScanner): self.sysauth = regex_result.group(1) _LOGGER.info(self.sysauth) return True - except (ValueError, KeyError) as e: + except (ValueError, KeyError) as _: _LOGGER.error("Couldn't fetch auth tokens!" " Response was: {}".format(response.text)) return False