@skylord123/node-red-pebble-timeline
Version:
Node-RED nodes for interacting with the Pebble Timeline API
14 lines (12 loc) • 359 B
JavaScript
module.exports = function(RED) {
function PebbleTimelineConfigNode(n) {
RED.nodes.createNode(this, n);
this.name = n.name;
this.apiUrl = n.apiUrl;
}
RED.nodes.registerType("pebble-timeline-config", PebbleTimelineConfigNode, {
credentials: {
timelineToken: { type: "password" }
}
});
};