From 14a34f8c4b8c94a4db467a6b25141c04c62c7b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 9 Jul 2018 22:34:27 +0300 Subject: [PATCH] Remove some unneeded pylint import-error disables (#15386) --- homeassistant/components/device_tracker/mikrotik.py | 1 - homeassistant/components/eufy.py | 1 - homeassistant/components/light/eufy.py | 1 - homeassistant/components/switch/eufy.py | 1 - 4 files changed, 4 deletions(-) diff --git a/homeassistant/components/device_tracker/mikrotik.py b/homeassistant/components/device_tracker/mikrotik.py index e9a7efeb64aab2..dfc66a412c39f8 100644 --- a/homeassistant/components/device_tracker/mikrotik.py +++ b/homeassistant/components/device_tracker/mikrotik.py @@ -66,7 +66,6 @@ def __init__(self, config): def connect_to_device(self): """Connect to Mikrotik method.""" - # pylint: disable=import-error import librouteros try: self.client = librouteros.connect( diff --git a/homeassistant/components/eufy.py b/homeassistant/components/eufy.py index e86e7348d58fb7..69d4905228ad27 100644 --- a/homeassistant/components/eufy.py +++ b/homeassistant/components/eufy.py @@ -49,7 +49,6 @@ def setup(hass, config): """Set up Eufy devices.""" - # pylint: disable=import-error import lakeside if CONF_USERNAME in config[DOMAIN] and CONF_PASSWORD in config[DOMAIN]: diff --git a/homeassistant/components/light/eufy.py b/homeassistant/components/light/eufy.py index 6f0a8816eea173..2e7370cb336f1b 100644 --- a/homeassistant/components/light/eufy.py +++ b/homeassistant/components/light/eufy.py @@ -36,7 +36,6 @@ class EufyLight(Light): def __init__(self, device): """Initialize the light.""" - # pylint: disable=import-error import lakeside self._temp = None diff --git a/homeassistant/components/switch/eufy.py b/homeassistant/components/switch/eufy.py index 891525d3979157..7320ea8d5571db 100644 --- a/homeassistant/components/switch/eufy.py +++ b/homeassistant/components/switch/eufy.py @@ -25,7 +25,6 @@ class EufySwitch(SwitchDevice): def __init__(self, device): """Initialize the light.""" - # pylint: disable=import-error import lakeside self._state = None