mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Move imports to top for tapsaff (#29205)
This commit is contained in:
parent
e1fece48e1
commit
5001dbdcfa
@ -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…
x
Reference in New Issue
Block a user