moved imports to top level (#27784)

pull/27797/head
bouni 2019-10-17 15:05:45 +02:00 committed by Pascal Vizeli
parent 12a8e7520e
commit 2c535c92bd
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@
import logging
import re
from pyalarmdotcom import Alarmdotcom
import voluptuous as vol
import homeassistant.components.alarm_control_panel as alarm
@ -49,7 +50,6 @@ class AlarmDotCom(alarm.AlarmControlPanel):
def __init__(self, hass, name, code, username, password):
"""Initialize the Alarm.com status."""
from pyalarmdotcom import Alarmdotcom
_LOGGER.debug("Setting up Alarm.com...")
self._hass = hass