moved imports to top level (#27696)

pull/27734/head
bouni 2019-10-16 01:24:18 +02:00 committed by Paulus Schoutsen
parent 2b92fd3422
commit 04a5f19f6a
1 changed files with 1 additions and 1 deletions

View File

@ -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(