moved imports to top level (#27500)

This commit is contained in:
bouni authored and Paulus Schoutsen committed 2019-10-12 12:51:32 -07:00
1 parent 3f9f8eb379
commit 3ca74373d3
2 files changed
+4 -3

No files matched your search

@@ -4,6 +4,8 @@ from datetime import timedelta
import logging
from typing import List
import pybbox
import voluptuous as vol
from homeassistant.components.device_tracker import (
@@ -75,8 +77,6 @@ class BboxDeviceScanner(DeviceScanner):
"""
_LOGGER.info("Scanning...")
import pybbox
box = pybbox.Bbox(ip=self.host)
result = box.get_all_connected_devices()