Remove some unneeded pylint import-error disables ()

pull/15341/merge
Ville Skyttä 2018-07-09 22:34:27 +03:00 committed by Fabian Affolter
parent 3b93fa80be
commit 14a34f8c4b
4 changed files with 0 additions and 4 deletions
homeassistant/components
device_tracker
light
switch

View File

@ -66,7 +66,6 @@ class MikrotikScanner(DeviceScanner):
def connect_to_device(self):
"""Connect to Mikrotik method."""
# pylint: disable=import-error
import librouteros
try:
self.client = librouteros.connect(

View File

@ -49,7 +49,6 @@ EUFY_DISPATCH = {
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]:

View File

@ -36,7 +36,6 @@ class EufyLight(Light):
def __init__(self, device):
"""Initialize the light."""
# pylint: disable=import-error
import lakeside
self._temp = None

View File

@ -25,7 +25,6 @@ class EufySwitch(SwitchDevice):
def __init__(self, device):
"""Initialize the light."""
# pylint: disable=import-error
import lakeside
self._state = None