Move imports to top for starlingbank (#29233)
This commit is contained in:
1 parent
04bad4bc74
commit
11331ad26e
1 file changed
+1
-1
@@ -2,6 +2,7 @@
|
||||
import logging
|
||||
|
||||
import requests
|
||||
from starlingbank import StarlingAccount
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
||||
@@ -40,7 +41,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
||||
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
"""Set up the Sterling Bank sensor platform."""
|
||||
from starlingbank import StarlingAccount
|
||||
|
||||
sensors = []
|
||||
for account in config[CONF_ACCOUNTS]:
|
||||
|
||||
Reference in new issue
Block a user