|
@@ -17,7 +17,7 @@ from homeassistant.components.climate.const import (
|
|
|
from homeassistant.components.climate import (
|
|
from homeassistant.components.climate import (
|
|
|
STATE_HEAT, STATE_COOL, STATE_AUTO, STATE_DRY, ClimateDevice,
|
|
STATE_HEAT, STATE_COOL, STATE_AUTO, STATE_DRY, ClimateDevice,
|
|
|
SUPPORT_OPERATION_MODE, SUPPORT_TARGET_TEMPERATURE, SUPPORT_FAN_MODE,
|
|
SUPPORT_OPERATION_MODE, SUPPORT_TARGET_TEMPERATURE, SUPPORT_FAN_MODE,
|
|
|
- SUPPORT_ON_OFF, PLATFORM_SCHEMA)
|
|
|
|
|
|
|
+ SUPPORT_ON_OFF, PLATFORM_SCHEMA, DOMAIN)
|
|
|
from homeassistant.const import (
|
|
from homeassistant.const import (
|
|
|
CONF_NAME, STATE_OFF, STATE_ON, STATE_UNKNOWN, ATTR_TEMPERATURE,
|
|
CONF_NAME, STATE_OFF, STATE_ON, STATE_UNKNOWN, ATTR_TEMPERATURE,
|
|
|
PRECISION_HALVES, PRECISION_TENTHS, PRECISION_WHOLE)
|
|
PRECISION_HALVES, PRECISION_TENTHS, PRECISION_WHOLE)
|
|
@@ -29,8 +29,6 @@ from . import Helper
|
|
|
|
|
|
|
|
_LOGGER = logging.getLogger(__name__)
|
|
_LOGGER = logging.getLogger(__name__)
|
|
|
|
|
|
|
|
-VERSION = '1.1.1'
|
|
|
|
|
-
|
|
|
|
|
DEFAULT_NAME = "SmartIR Climate"
|
|
DEFAULT_NAME = "SmartIR Climate"
|
|
|
|
|
|
|
|
CONF_DEVICE_CODE = 'device_code'
|
|
CONF_DEVICE_CODE = 'device_code'
|
|
@@ -218,11 +216,6 @@ class SmartIRClimate(ClimateDevice, RestoreEntity):
|
|
|
"""Return the supported step of target temperature."""
|
|
"""Return the supported step of target temperature."""
|
|
|
return self._precision
|
|
return self._precision
|
|
|
|
|
|
|
|
- @property
|
|
|
|
|
- def precision(self):
|
|
|
|
|
- """Return the precision of the system."""
|
|
|
|
|
- return PRECISION_TENTHS
|
|
|
|
|
-
|
|
|
|
|
@property
|
|
@property
|
|
|
def operation_list(self):
|
|
def operation_list(self):
|
|
|
"""Return the list of available operation modes."""
|
|
"""Return the list of available operation modes."""
|