Remove deprecated comments

This commit is contained in:
Philip Rosenberg-Watt 2018-05-31 13:59:26 -06:00
parent cc264f415e
commit 753fe8279b
3 changed files with 5 additions and 7 deletions

View file

@ -268,7 +268,6 @@ class GenericThermostat(ClimateDevice):
if self._min_temp:
return self._min_temp
# get default temp from super class
return DEFAULT_MIN_TEMP
@property
@ -278,7 +277,6 @@ class GenericThermostat(ClimateDevice):
if self._max_temp:
return self._max_temp
# Get default temp from super class
return DEFAULT_MAX_TEMP
@asyncio.coroutine

View file

@ -233,7 +233,7 @@ class TadoClimate(ClimateDevice):
"""Return the minimum temperature."""
if self._min_temp:
return self._min_temp
# get default temp from super class
return DEFAULT_MIN_TEMP
@property
@ -241,7 +241,7 @@ class TadoClimate(ClimateDevice):
"""Return the maximum temperature."""
if self._max_temp:
return self._max_temp
# Get default temp from super class
return DEFAULT_MAX_TEMP
def update(self):

View file

@ -9,9 +9,9 @@ from homeassistant.setup import setup_component
from homeassistant.components import climate
from homeassistant.const import STATE_OFF, STATE_UNAVAILABLE
from homeassistant.components.climate import (
SUPPORT_OPERATION_MODE, SUPPORT_TARGET_TEMPERATURE,
SUPPORT_FAN_MODE, SUPPORT_SWING_MODE, SUPPORT_HOLD_MODE,
SUPPORT_AWAY_MODE, SUPPORT_AUX_HEAT, DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP)
SUPPORT_OPERATION_MODE, SUPPORT_TARGET_TEMPERATURE,
SUPPORT_FAN_MODE, SUPPORT_SWING_MODE, SUPPORT_HOLD_MODE,
SUPPORT_AWAY_MODE, SUPPORT_AUX_HEAT)
from tests.common import (get_test_home_assistant, mock_mqtt_component,
fire_mqtt_message, mock_component)