Move imports in wink component (#27392)

This commit is contained in:
Quentame authored and Paulus Schoutsen committed 2019-10-10 09:51:28 -07:00
1 parent 7b13f0caf7
commit 91379b0ff7
11 files changed
+24 -18

No files matched your search

@@ -1,6 +1,8 @@
"""Support for Wink binary sensors."""
import logging
import pywink
from homeassistant.components.binary_sensor import BinarySensorDevice
from . import DOMAIN, WinkDevice
@@ -26,7 +28,6 @@ SENSOR_TYPES = {
def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up the Wink binary sensor platform."""
import pywink
for sensor in pywink.get_sensors():
_id = sensor.object_id() + sensor.name()