Fixing exception

This commit is contained in:
Andrew Stock 2015-12-01 21:30:44 +00:00
parent 228142e497
commit 1ce81ee6db

View File

@ -73,7 +73,7 @@ class RoundThermostat(ThermostatDevice):
def target_temperature(self): def target_temperature(self):
""" Returns the temperature we try to reach. """ """ Returns the temperature we try to reach. """
if self._is_dhw: if self._is_dhw:
raise NotImplementedError return None
return self._target_temperature return self._target_temperature
def set_temperature(self, temperature): def set_temperature(self, temperature):