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