node-red-contrib-nanoleaf
Version:
[](https://nodered.org) [](https://nodejs.org/en/) [ • 1.03 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('information', {
category: 'nanoleaf',
color: '#3eaf24',
icon: 'nanoleaf_white.png',
inputs: 1,
outputs: 1,
defaults: {
name: { value: '' },
installation: { type: 'installation' }
},
label: function() {
return this.name || 'information';
}
});
</script>
<script type="text/x-red" data-template-name="information">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name"/>
</div>
<div class="form-row">
<label for="node-input-installation"><i class="fa fa-tag"></i> Installation</label>
<input type="text" id="node-input-installation"/>
</div>
</script>
<script type="text/x-red" data-help-name="information">
<p>Upon trigger outputs the Nanoleaf Aurora information into msg.payload.</p>
</script>