Fix Eco mode display on Nest (#14706)

* Fix Eco mode display on Nest

* Fix Hound problems
This commit is contained in:
Marius 2018-06-01 00:26:59 +03:00 committed by Paulus Schoutsen
parent a58a566ae8
commit f32b50cb80

View file

@ -134,7 +134,9 @@ class NestThermostat(ClimateDevice):
@property
def target_temperature(self):
"""Return the temperature we try to reach."""
if self._mode != NEST_MODE_HEAT_COOL and not self.is_away_mode_on:
if self._mode != NEST_MODE_HEAT_COOL and \
self._mode != STATE_ECO and \
not self.is_away_mode_on:
return self._target_temperature
return None