mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Move imports to top for egardia (#29448)
This commit is contained in:
parent
10759b7ca6
commit
85e188db52
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user