From 0a28971bafc194974fa54eec344e2f26d09fadb5 Mon Sep 17 00:00:00 2001 From: Nebz <28622481+NebzHB@users.noreply.github.com> Date: Sat, 20 Jan 2024 10:18:14 +0100 Subject: [PATCH] Update jeedom-api.js --- lib/jeedom-api.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/jeedom-api.js b/lib/jeedom-api.js index e870e79..380e8b4 100755 --- a/lib/jeedom-api.js +++ b/lib/jeedom-api.js @@ -1031,6 +1031,15 @@ JeedomClient.prototype.ParseGenericType = function(EqLogic, cmds) { } result_cmd.services.windowMoto[i].slider = cmds[i]; break; + case 'WINDOW_MOVING' : + if (!result_cmd.services.windowMoto) { + result_cmd.services.windowMoto = []; + } + if (!result_cmd.services.windowMoto[i]) { + result_cmd.services.windowMoto[i] = {}; + } + result_cmd.services.windowMoto[i].moving = cmds[i]; + break; /** ************* THERMOSTAT ***********************/ case 'THERMOSTAT_STATE' : if (!result_cmd.services.thermostat) {