- TC: prepared for Rate set and get

- improved TC state machine
This commit is contained in:
jens
2020-12-06 12:05:55 +01:00
parent 493af820dc
commit a80cc2bf01
3 changed files with 39 additions and 20 deletions
+1 -2
View File
@@ -99,10 +99,9 @@ class TempController(AttributeChange):
self.y = 0
if state_next != self.state:
self.state = state_next
print("New state = {}".format(state_next))
self.state = state_next
def get_power(self):
return self.y