Fixes wrong statevalue and problem with zwave setpoint (#3017)

* Fixes wrong statevalue and problem with zwave setpoint

* Fix demo test to match bugfix (#10)
This commit is contained in:
John Arild Berentsen authored and GitHub committed 2016-08-28 17:58:50 +02:00
1 parent 7940648725
commit 17a57d3b47
3 files changed
+8 -13

No files matched your search

+1 -1
View File
@@ -351,7 +351,7 @@ class ClimateDevice(Entity):
@property
def state(self):
"""Return the current state."""
return self.current_operation or STATE_UNKNOWN
return self.target_temperature or STATE_UNKNOWN
@property
def state_attributes(self):