moved imports to top level (#27500)
This commit is contained in:
1 parent
3f9f8eb379
commit
3ca74373d3
2 files changed
+4
-3
No files matched your search
@@ -3,6 +3,8 @@ import logging
|
||||
from datetime import timedelta
|
||||
|
||||
import requests
|
||||
import pybbox
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
@@ -136,7 +138,6 @@ class BboxData:
|
||||
@Throttle(MIN_TIME_BETWEEN_UPDATES)
|
||||
def update(self):
|
||||
"""Get the latest data from the Bbox."""
|
||||
import pybbox
|
||||
|
||||
try:
|
||||
box = pybbox.Bbox()
|
||||
|
||||
Reference in new issue
Block a user