mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
moved imports to top level (#27784)
This commit is contained in:
parent
12a8e7520e
commit
2c535c92bd
@ -2,6 +2,7 @@
|
|||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
from pyalarmdotcom import Alarmdotcom
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
import homeassistant.components.alarm_control_panel as alarm
|
import homeassistant.components.alarm_control_panel as alarm
|
||||||
@ -49,7 +50,6 @@ class AlarmDotCom(alarm.AlarmControlPanel):
|
|||||||
|
|
||||||
def __init__(self, hass, name, code, username, password):
|
def __init__(self, hass, name, code, username, password):
|
||||||
"""Initialize the Alarm.com status."""
|
"""Initialize the Alarm.com status."""
|
||||||
from pyalarmdotcom import Alarmdotcom
|
|
||||||
|
|
||||||
_LOGGER.debug("Setting up Alarm.com...")
|
_LOGGER.debug("Setting up Alarm.com...")
|
||||||
self._hass = hass
|
self._hass = hass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user