- fixed stirrer test

This commit is contained in:
jens
2020-12-17 17:42:29 +01:00
parent 9644b7e772
commit 8e76c0a2a1
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -26,9 +26,9 @@ class AStirrer(AttributeChange):
if self.isOn != isOn:
if isOn:
self.onSetSpeed(self.speed)
self.on_set_speed(self.speed)
else:
self.onSetSpeed(0)
self.on_set_speed(0)
self.isOn = isOn