Remove some unneeded pylint import-error disables (#15386)
parent
3b93fa80be
commit
14a34f8c4b
homeassistant/components
|
@ -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(
|
||||
|
|
|
@ -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]:
|
||||
|
|
|
@ -36,7 +36,6 @@ class EufyLight(Light):
|
|||
|
||||
def __init__(self, device):
|
||||
"""Initialize the light."""
|
||||
# pylint: disable=import-error
|
||||
import lakeside
|
||||
|
||||
self._temp = None
|
||||
|
|
|
@ -25,7 +25,6 @@ class EufySwitch(SwitchDevice):
|
|||
|
||||
def __init__(self, device):
|
||||
"""Initialize the light."""
|
||||
# pylint: disable=import-error
|
||||
import lakeside
|
||||
|
||||
self._state = None
|
||||
|
|
Loading…
Reference in New Issue