node-red-contrib-panasonic-comfort-cloud
Version:
Node-RED implementation of panasonic-comfort-cloud-client
25 lines (23 loc) • 617 B
JavaScript
module.exports = function (RED) {
function ComfortCloudConfig(config) {
RED.nodes.createNode(this, config);
var node = this;
node.appVersion = config.appVersion;
node.on('export', () => {
console.log('EXPORT! Nothing done!');
});
}
RED.nodes.registerType('pcc-config', ComfortCloudConfig, {
credentials: {
accessToken: {
type: 'password',
},
username: {
type: 'text',
},
password: {
type: 'password',
}
}
});
};