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:
1 parent
7940648725
commit
17a57d3b47
3 files changed
+8
-13
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user