Move imports to top for egardia (#29448)

pull/29495/head
springstan 2019-12-05 06:21:40 +01:00 committed by Paulus Schoutsen
parent 10759b7ca6
commit 85e188db52
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,7 @@
"""Interfaces with Egardia/Woonveilig alarm control panel."""
import logging
from pythonegardia import egardiadevice, egardiaserver
import requests
import voluptuous as vol
@ -78,8 +79,6 @@ CONFIG_SCHEMA = vol.Schema(
def setup(hass, config):
"""Set up the Egardia platform."""
from pythonegardia import egardiadevice
from pythonegardia import egardiaserver
conf = config[DOMAIN]
username = conf.get(CONF_USERNAME)