Climate const.py move (#20945)
* Move constants to const.py * Import from const instead of climate
This commit is contained in:
1 parent
3736120c6a
commit
c5de32e7b1
72 files changed
+372
-295
No files matched your search
@@ -1,12 +1,13 @@
|
||||
"""Support for Homekit climate devices."""
|
||||
import logging
|
||||
|
||||
from homeassistant.components.climate import (
|
||||
STATE_COOL, STATE_HEAT, STATE_IDLE, SUPPORT_OPERATION_MODE,
|
||||
SUPPORT_TARGET_TEMPERATURE, ClimateDevice)
|
||||
from homeassistant.components.climate import ClimateDevice
|
||||
from homeassistant.components.climate.const import (
|
||||
STATE_HEAT, STATE_COOL, STATE_IDLE,
|
||||
SUPPORT_TARGET_TEMPERATURE, SUPPORT_OPERATION_MODE)
|
||||
from homeassistant.components.homekit_controller import (
|
||||
KNOWN_ACCESSORIES, HomeKitEntity)
|
||||
from homeassistant.const import ATTR_TEMPERATURE, STATE_OFF, TEMP_CELSIUS
|
||||
HomeKitEntity, KNOWN_ACCESSORIES)
|
||||
from homeassistant.const import TEMP_CELSIUS, STATE_OFF, ATTR_TEMPERATURE
|
||||
|
||||
DEPENDENCIES = ['homekit_controller']
|
||||
|
||||
|
||||
Reference in new issue
Block a user