Skip to content

Commit

Permalink
fix node status when it's VECTOR3
Browse files Browse the repository at this point in the history
  • Loading branch information
fblackburn1 committed Apr 9, 2020
1 parent 131b548 commit 1f9e2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/device.js
Expand Up @@ -144,7 +144,7 @@ module.exports = function HubitatDeviceModule(RED) {
} else if (!node.attribute) {
node.status({});
} else if (node.attribute === foundAttribute.name) {
node.status({ fill: 'blue', shape: node.shape, text: `${node.attribute}: ${foundAttribute.value}` });
node.status({ fill: 'blue', shape: node.shape, text: `${node.attribute}: ${JSON.stringify(foundAttribute.value)}` });
}
done();
});
Expand Down

0 comments on commit 1f9e2bb

Please sign in to comment.