Skip to content
Snippets Groups Projects
Unverified Commit 211ed3d5 authored by Franck Nijhof's avatar Franck Nijhof Committed by GitHub
Browse files

Move imports to top in wirelesstag (#33624)

parent 46fa2041
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ import logging
from requests.exceptions import ConnectTimeout, HTTPError
import voluptuous as vol
from wirelesstagpy import NotificationConfig as NC
from wirelesstagpy import NotificationConfig as NC, WirelessTags, WirelessTagsException
from homeassistant import util
from homeassistant.const import (
......@@ -190,8 +190,6 @@ def setup(hass, config):
password = conf.get(CONF_PASSWORD)
try:
from wirelesstagpy import WirelessTags, WirelessTagsException
wirelesstags = WirelessTags(username=username, password=password)
platform = WirelessTagPlatform(hass, wirelesstags)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment