- TC: use offset

This commit is contained in:
jens
2020-12-10 12:46:13 +01:00
parent 2951c21eb3
commit 52e3cf733d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ class HeaterTask(ATask):
self.pulse_counter = 0
def actor(self, y):
self.power_soll = max(0, 0 + self.heater.get_power_max() * y)
self.power_soll = max(0, 250 + self.heater.get_power_max() * y)
def on_changed_active(self, is_activated):
asyncio.create_task(self.send({'Activate': int(is_activated)}))