mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Remove some unneeded pylint import-error disables (#15386)
This commit is contained in:
parent
3b93fa80be
commit
14a34f8c4b
@ -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…
x
Reference in New Issue
Block a user