Skip to content

Commit

Permalink
Added triggerSrc Header
Browse files Browse the repository at this point in the history
This will fix issue #24.
  • Loading branch information
dehsgr committed Dec 17, 2022
1 parent 73d0ecb commit d9183f5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
package-lock.json
1 change: 1 addition & 0 deletions meross/smartgarage-control.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module.exports = function(RED) {
'Appliance.GarageDoor.State' :
'Appliance.System.All',
'timestamp': undefined,
'triggerSrc': "NodeRedPluginLocal",
'payloadVersion': 1
},
'payload': (typeof msg.payload === 'boolean') ?
Expand Down
1 change: 1 addition & 0 deletions meross/smartplug-control.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module.exports = function(RED) {
msg.payload.namespace :
'Appliance.System.All',
'timestamp': undefined,
'triggerSrc': "NodeRedPluginLocal",
'payloadVersion': 1
},
'payload': (typeof msg.payload === 'boolean') ?
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-meross",
"version": "2.0.0",
"version": "2.0.1",
"description": "This provides nodes for controlling Meross devices.",
"author": "d3h56r",
"license": "ISC",
Expand Down

0 comments on commit d9183f5

Please sign in to comment.