Move imports to top for tapsaff (#29205)
This commit is contained in:
parent
e1fece48e1
commit
5001dbdcfa
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue