mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 11:36:58 +00:00
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
This commit is contained in:
parent
2f1f08b070
commit
c833709368
@ -397,7 +397,7 @@ WeMoNG.prototype.getSocketStatus = function getSocketStatus(socket) {
|
|||||||
headers: {
|
headers: {
|
||||||
'SOAPACTION': getSocketState.action,
|
'SOAPACTION': getSocketState.action,
|
||||||
'Content-Type': 'text/xml; charset="utf-8"',
|
'Content-Type': 'text/xml; charset="utf-8"',
|
||||||
'Accept': ''
|
'Accept': '',
|
||||||
'Content-Length': getSocketState.body.length
|
'Content-Length': getSocketState.body.length
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-node-wemo",
|
"name": "node-red-node-wemo",
|
||||||
"version": "0.2.2",
|
"version": "0.2.3",
|
||||||
"description": "Input and Output nodes for Belkin WeMo devices",
|
"description": "Input and Output nodes for Belkin WeMo devices",
|
||||||
"repository" : {
|
"repository" : {
|
||||||
"type":"git",
|
"type":"git",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user