Skip to content

Commit

Permalink
release : 1.1.10 (#31)
Browse files Browse the repository at this point in the history
* fix : mydevice info api bug #15 (#28)

* fix : mydevice info api bug

* modify : package.json version

* modify : modify 'undefined' room name to 'Unknown'

* fix : smartthings mydevice api call, node-red http-node-root (#30)

node-red httpNodeRoot 설정, my-device API 호출시 적용

* modify : package.json version 1.1.10
  • Loading branch information
shgood authored Jul 12, 2021
1 parent 1a4c88d commit 19b9ff6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions 101-SmartThings.html
Original file line number Diff line number Diff line change
Expand Up @@ -762,12 +762,14 @@ <h3>Properties</h3>

this.loadRuntimeCapabilities= function(){
return new Promise((resolve,reject)=>{
$.getJSON('_smartthings/capabilities').then(resolve,reject);
const root = RED.settings.httpNodeRoot||'/';
$.getJSON(root+'_smartthings/capabilities').then(resolve,reject);
})
}
this.loadMydeviceInfo=()=>{
return new Promise((resolve,reject)=>{
$.getJSON('_smartthings/mydevices').then(resolve,reject);
const root = RED.settings.httpNodeRoot||'/';
$.getJSON(root+'_smartthings/mydevices').then(resolve,reject);
})
}

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-samsung-automation-studio-nodes",
"version": "1.1.8",
"version": "1.1.10",
"description": "Samsung Automation Studio Nodes for Node-RED",
"keywords": [
"SmartThings",
Expand Down

0 comments on commit 19b9ff6

Please sign in to comment.