Skip to content

Commit

Permalink
Fix getProfile status
Browse files Browse the repository at this point in the history
  • Loading branch information
cflurin committed May 13, 2019
1 parent 0f60e00 commit 028a78c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ramp-thermostat/ramp-thermostat.js
Expand Up @@ -95,6 +95,7 @@ module.exports = function(RED) {
case "getprofile":
if (msg.payload === "actual") {
msg3.payload = reformateProfile(this.profile);
result.status = {fill:"green",shape:"dot",text:"get profile "+msg3.payload.name};
} else {
result = getProfile(msg.payload);
if (result.found) {
Expand Down

0 comments on commit 028a78c

Please sign in to comment.