Open ckhmer1 opened 3 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/utils/ewelink-connect.js | 4 | 6 | 66.67% | ||
<!-- | Total: | 4 | 6 | 66.67% | --> |
Totals | |
---|---|
Change from base Build 84: | -4.5% |
Covered Lines: | 101 |
Relevant Lines: | 105 |
Don't use additional variables, use the same
deviceId
(you can modify declaration tolet
instead ofconst
or and you can do all of this inline at line 48).
Done. Is it ok now?
Hi, first of all, thanks for your great job. I'd like to specify the deviceId inside the message sent to the node and not always inside the node itself, like msg.deviceId= ..... It should is a simple fix, in ewelink-connect.js, just replaced the row:
with following rows:
In this way it the deviceId is not specified inside the node configuration, it will use the one specified inside the message.
Thanks Claudio