From abdd65414fe8dc98ac0e74221166318534793c35 Mon Sep 17 00:00:00 2001 From: Elmar Jobs Date: Fri, 22 Nov 2024 20:06:18 +0100 Subject: [PATCH] Fix unecessary stop before up/down (#20) --- drivers/knx_windowcoverings/device.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/knx_windowcoverings/device.js b/drivers/knx_windowcoverings/device.js index 84d299d..5059ae0 100644 --- a/drivers/knx_windowcoverings/device.js +++ b/drivers/knx_windowcoverings/device.js @@ -46,10 +46,6 @@ class KNXWindowCovering extends KNXGenericDevice { if (this.knxInterface) { switch (value) { case 'up': - if (this.settings.ga_stop) { - this.knxInterface.writeKNXGroupAddress(this.settings.ga_stop, 0, 'DPT1'); - } - if (this.settings.invert_updown === true) { return this.knxInterface.writeKNXGroupAddress(this.settings.ga_up_down, 1, 'DPT1') .catch((knxerror) => { @@ -61,9 +57,6 @@ class KNXWindowCovering extends KNXGenericDevice { throw new Error(this.homey.__('errors.windowcovering_failed'), knxerror); }); case 'down': - if (this.settings.ga_stop) { - this.knxInterface.writeKNXGroupAddress(this.settings.ga_stop, 0, 'DPT1'); - } if (this.settings.invert_updown === true) { return this.knxInterface.writeKNXGroupAddress(this.settings.ga_up_down, 0, 'DPT1') .catch((knxerror) => {