Skip to content

Commit

Permalink
Update jeedom-api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NebzHB authored Jan 20, 2024
1 parent 692d5a7 commit 6fb237c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/jeedom-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,15 @@ JeedomClient.prototype.ParseGenericType = function(EqLogic, cmds) {
}
result_cmd.services.flap[i].stop = cmds[i];
break;
case 'FLAP_MOVING' :
if (!result_cmd.services.flap) {
result_cmd.services.flap = [];
}
if (!result_cmd.services.flap[i]) {
result_cmd.services.flap[i] = {};
}
result_cmd.services.flap[i].moving = cmds[i];
break;
case 'FLAP_HOR_TILT_STATE' :
if (!result_cmd.services.flap) {
result_cmd.services.flap = [];
Expand Down

0 comments on commit 6fb237c

Please sign in to comment.