Remove deprecated comments
This commit is contained in:
parent
cc264f415e
commit
753fe8279b
3 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue