Move imports to top for tapsaff (#29205)
This commit is contained in:
1 parent
e1fece48e1
commit
5001dbdcfa
1 file changed
+1
-1
@@ -2,6 +2,7 @@
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
|
||||
from tapsaff import TapsAff
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.binary_sensor import PLATFORM_SCHEMA, BinarySensorDevice
|
||||
@@ -62,7 +63,6 @@ class TapsAffData:
|
||||
|
||||
def __init__(self, location):
|
||||
"""Initialize the data object."""
|
||||
from tapsaff import TapsAff
|
||||
|
||||
self._is_taps_aff = None
|
||||
self.taps_aff = TapsAff(location)
|
||||
|
||||
Reference in new issue
Block a user