mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Move imports to top for quantum_gateway (#29327)
This commit is contained in:
committed by
Martin Hjelmare
parent
372aa312e1
commit
1adcdad5a4
@@ -1,6 +1,7 @@
|
||||
"""Support for Verizon FiOS Quantum Gateways."""
|
||||
import logging
|
||||
|
||||
from quantum_gateway import QuantumGatewayScanner
|
||||
from requests.exceptions import RequestException
|
||||
import voluptuous as vol
|
||||
|
||||
@@ -37,7 +38,6 @@ class QuantumGatewayDeviceScanner(DeviceScanner):
|
||||
|
||||
def __init__(self, config):
|
||||
"""Initialize the scanner."""
|
||||
from quantum_gateway import QuantumGatewayScanner
|
||||
|
||||
self.host = config[CONF_HOST]
|
||||
self.password = config[CONF_PASSWORD]
|
||||
|
Reference in New Issue
Block a user