moved imports to top level (#27454)

This commit is contained in:
bouni authored and Paulus Schoutsen committed 2019-10-12 13:02:12 -07:00
1 parent 701bb666c4
commit 8a1738281a
8 files changed
+20 -15

No files matched your search

+2 -2
View File
@@ -3,6 +3,8 @@ from datetime import timedelta
import logging
import requests
import abodepy.helpers.constants as CONST
import abodepy.helpers.timeline as TIMELINE
from homeassistant.components.camera import Camera
from homeassistant.util import Throttle
@@ -16,8 +18,6 @@ _LOGGER = logging.getLogger(__name__)
def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up Abode camera devices."""
import abodepy.helpers.constants as CONST
import abodepy.helpers.timeline as TIMELINE
data = hass.data[ABODE_DOMAIN]