mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Move imports to top for iota (#29399)
This commit is contained in:
parent
1d65670a71
commit
c0c1d68858
@ -1,7 +1,8 @@
|
||||
"""Support for IOTA wallets."""
|
||||
import logging
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
|
||||
from iota import Iota
|
||||
import voluptuous as vol
|
||||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
@ -77,6 +78,5 @@ class IotaDevice(Entity):
|
||||
@property
|
||||
def api(self):
|
||||
"""Construct API object for interaction with the IRI node."""
|
||||
from iota import Iota
|
||||
|
||||
return Iota(adapter=self.iri, seed=self._seed)
|
||||
|
Loading…
x
Reference in New Issue
Block a user