UNPKG

node-red-contrib-panasonic-comfort-cloud

Version:
25 lines (23 loc) 617 B
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', } } }); };