moved imports to top level (#27696)
parent
2b92fd3422
commit
04a5f19f6a
|
@ -2,6 +2,7 @@
|
|||
import logging
|
||||
from datetime import timedelta
|
||||
|
||||
import dovado
|
||||
import voluptuous as vol
|
||||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
@ -32,7 +33,6 @@ MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30)
|
|||
|
||||
def setup(hass, config):
|
||||
"""Set up the Dovado component."""
|
||||
import dovado
|
||||
|
||||
hass.data[DOMAIN] = DovadoData(
|
||||
dovado.Dovado(
|
||||
|
|
Loading…
Reference in New Issue