Unverified Commit c29d3087 authored by Vassilis Panos's avatar Vassilis Panos Committed by GitHub
Browse files

Update climate.py

parent 83c191f9
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ from homeassistant.components.climate.const import (
from homeassistant.components.climate import (
    STATE_HEAT, STATE_COOL, STATE_AUTO, STATE_DRY, ClimateDevice,
    SUPPORT_OPERATION_MODE, SUPPORT_TARGET_TEMPERATURE, SUPPORT_FAN_MODE,
    SUPPORT_ON_OFF, PLATFORM_SCHEMA)
    SUPPORT_ON_OFF, PLATFORM_SCHEMA, DOMAIN)
from homeassistant.const import (
    CONF_NAME, STATE_OFF, STATE_ON, STATE_UNKNOWN, ATTR_TEMPERATURE,
    PRECISION_HALVES, PRECISION_TENTHS, PRECISION_WHOLE)
@@ -29,8 +29,6 @@ from . import Helper

_LOGGER = logging.getLogger(__name__)

VERSION = '1.1.1'

DEFAULT_NAME = "SmartIR Climate"

CONF_DEVICE_CODE = 'device_code'
@@ -218,11 +216,6 @@ class SmartIRClimate(ClimateDevice, RestoreEntity):
        """Return the supported step of target temperature."""
        return self._precision

    @property
    def precision(self):
        """Return the precision of the system."""
        return PRECISION_TENTHS

    @property
    def operation_list(self):
        """Return the list of available operation modes."""