Climate const.py move (#20945)
* Move constants to const.py * Import from const instead of climate
This commit is contained in:
parent
3736120c6a
commit
c5de32e7b1
72 changed files with 372 additions and 295 deletions
|
@ -2,12 +2,13 @@
|
|||
|
||||
import logging
|
||||
|
||||
from homeassistant.components.climate import (
|
||||
ATTR_TEMPERATURE, STATE_COOL, STATE_HEAT, STATE_IDLE,
|
||||
from homeassistant.components.climate import ClimateDevice
|
||||
from homeassistant.components.climate.const import (
|
||||
STATE_COOL, STATE_HEAT, STATE_IDLE,
|
||||
SUPPORT_OPERATION_MODE, SUPPORT_TARGET_TEMPERATURE,
|
||||
SUPPORT_FAN_MODE, ClimateDevice)
|
||||
SUPPORT_FAN_MODE)
|
||||
from homeassistant.components.spider import DOMAIN as SPIDER_DOMAIN
|
||||
from homeassistant.const import TEMP_CELSIUS
|
||||
from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS
|
||||
|
||||
DEPENDENCIES = ['spider']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue