From 51f80fe5ee1d7715a4effd83e335a56a0643a196 Mon Sep 17 00:00:00 2001 From: springstan Date: Fri, 6 Dec 2019 11:18:41 +0100 Subject: [PATCH] Move imports to top for heatmiser --- homeassistant/components/heatmiser/climate.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/heatmiser/climate.py b/homeassistant/components/heatmiser/climate.py index 1954749c21bf7..553ae8f4bc3b8 100644 --- a/homeassistant/components/heatmiser/climate.py +++ b/homeassistant/components/heatmiser/climate.py @@ -2,28 +2,27 @@ import logging from typing import List +from heatmiserV3 import connection, heatmiser import voluptuous as vol -from heatmiserV3 import heatmiser, connection from homeassistant.components.climate import ( - ClimateDevice, - PLATFORM_SCHEMA, HVAC_MODE_HEAT, HVAC_MODE_OFF, + PLATFORM_SCHEMA, + ClimateDevice, ) from homeassistant.components.climate.const import SUPPORT_TARGET_TEMPERATURE from homeassistant.const import ( - TEMP_CELSIUS, - TEMP_FAHRENHEIT, ATTR_TEMPERATURE, CONF_HOST, - CONF_PORT, CONF_ID, CONF_NAME, + CONF_PORT, + TEMP_CELSIUS, + TEMP_FAHRENHEIT, ) import homeassistant.helpers.config_validation as cv - _LOGGER = logging.getLogger(__name__) CONF_THERMOSTATS = "tstats"