Fixing exception
This commit is contained in:
1 parent
228142e497
commit
1ce81ee6db
1 file changed
+1
-1
@@ -73,7 +73,7 @@ class RoundThermostat(ThermostatDevice):
|
||||
def target_temperature(self):
|
||||
""" Returns the temperature we try to reach. """
|
||||
if self._is_dhw:
|
||||
raise NotImplementedError
|
||||
return None
|
||||
return self._target_temperature
|
||||
|
||||
def set_temperature(self, temperature):
|
||||
|
||||
Reference in new issue
Block a user