Move imports to top for homekit_controller (#29564)

* Move imports to top for homekit_controller

* Fix IpPairing mock in two test files
This commit is contained in:
springstan 2019-12-08 17:50:57 +01:00 committed by Jc2k
parent 8f5e8c72c6
commit 3b5da9c44a
9 changed files with 32 additions and 27 deletions

View file

@ -4,20 +4,20 @@ import logging
from homekit.model.characteristics import CharacteristicsTypes
from homeassistant.components.climate import (
ClimateDevice,
DEFAULT_MIN_HUMIDITY,
DEFAULT_MAX_HUMIDITY,
DEFAULT_MIN_HUMIDITY,
ClimateDevice,
)
from homeassistant.components.climate.const import (
HVAC_MODE_HEAT_COOL,
CURRENT_HVAC_COOL,
CURRENT_HVAC_HEAT,
CURRENT_HVAC_IDLE,
HVAC_MODE_COOL,
HVAC_MODE_HEAT,
HVAC_MODE_HEAT_COOL,
HVAC_MODE_OFF,
CURRENT_HVAC_IDLE,
CURRENT_HVAC_HEAT,
CURRENT_HVAC_COOL,
SUPPORT_TARGET_TEMPERATURE,
SUPPORT_TARGET_HUMIDITY,
SUPPORT_TARGET_TEMPERATURE,
)
from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS