8000 Move imports to top for idteck_prox by springstan · Pull Request #29423 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Move imports to top for idteck_prox #29423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions homeassistant/components/idteck_prox/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
"""Component for interfacing RFK101 proximity card readers."""
import logging

from rfk101py.rfk101py import rfk101py
import voluptuous as vol

import homeassistant.helpers.config_validation as cv
from homeassistant.const import (
CONF_HOST,
CONF_PORT,
CONF_NAME,
CONF_PORT,
EVENT_HOMEASSISTANT_STOP,
)
import homeassistant.helpers.config_validation as cv

_LOGGER = logging.getLogger(__name__)

Expand Down Expand Up @@ -68,7 +69,6 @@ def __init__(self, hass, host, port, name):

def connect(self):
"""Connect to the reader."""
from rfk101py.rfk101py import rfk101py

self._connection = rfk101py(self._host, self._port, self._callback)

Expand Down
0