From 850ad6c88cf81badb540c3d45e71d4a3c40d15e8 Mon Sep 17 00:00:00 2001 From: jens Date: Thu, 17 Dec 2020 21:53:28 +0100 Subject: [PATCH] - hendi: remote enable on activate --- components/actor/heater_hendi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/actor/heater_hendi.py b/components/actor/heater_hendi.py index 6d6a531..220efcb 100644 --- a/components/actor/heater_hendi.py +++ b/components/actor/heater_hendi.py @@ -21,9 +21,11 @@ class HeaterHendi(AHeater): def activate(self, enable): self.is_active = enable if enable: + self.hendi.remoteEnable(1) self.hendi.setSwitch(1) else: self.hendi.setSwitch(0) + self.hendi.remoteEnable(0) def is_activated(self): s = self.hendi.getSwitch()