Skip to content

Commit c833709

Browse files
authored
Fix typo in WeMo node (#903)
* Attempt to catch errors from wemo-lookup This is to catch errors when device is offline * Put request back Will look at making it all http.request later * Fix some messages * Bump wemo version * Fix typo
1 parent 2f1f08b commit c833709

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hardware/wemo/lib/wemo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ WeMoNG.prototype.getSocketStatus = function getSocketStatus(socket) {
397397
headers: {
398398
'SOAPACTION': getSocketState.action,
399399
'Content-Type': 'text/xml; charset="utf-8"',
400-
'Accept': ''
400+
'Accept': '',
401401
'Content-Length': getSocketState.body.length
402402
}
403403
}

hardware/wemo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-node-wemo",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "Input and Output nodes for Belkin WeMo devices",
55
"repository" : {
66
"type":"git",

0 commit comments

Comments
 (0)