Skip to content

Commit

Permalink
Removed double status request
Browse files Browse the repository at this point in the history
  • Loading branch information
EDelsman committed Jun 6, 2021
1 parent 57fb9c2 commit 3fe53c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/genericdevice.js
Original file line number Diff line number Diff line change
Expand Up @@ -1053,8 +1053,8 @@ class MotionDeviceGeneric extends Homey.Device {
this.log('statusQuery');
if (this.hasCapability('windowcoverings_set.top') && this.hasCapability('windowcoverings_set.bottom')) {
this.readDevice();
this.writeDevice({ "operation_T": this.mdriver.Operation.StatusQuery, // does not seem to work for TDBU
"operation_B": this.mdriver.Operation.StatusQuery });
// this.writeDevice({ "operation_T": this.mdriver.Operation.StatusQuery, // does not seem to work for TDBU
// "operation_B": this.mdriver.Operation.StatusQuery });
} else
this.writeDevice({ "operation": this.mdriver.Operation.StatusQuery });
}
Expand Down

0 comments on commit 3fe53c6

Please sign in to comment.