From f3717421c0cca59395cfec4574441020f8469f2f Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Fri, 6 Dec 2019 14:59:32 +0100 Subject: [PATCH] Move imports to top for heatmiser (#29562) --- 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 1954749c21b..553ae8f4bc3 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"