node-red-contrib-nanoleaf-aurora
Version:
A node-red module, which provides nodes to manipulate a Nanoleaf Aurora installation.
32 lines (30 loc) • 997 B
HTML
<script type="text/javascript">
RED.nodes.registerType('identify', {
category: 'nanoleaf',
color: '#e6e0f8',
icon: 'alert.png',
align: 'right',
inputs: 1,
outputs: 0,
defaults: {
name: { value: '' },
installation: { type: 'installation' }
},
label: function() {
return this.name || 'identify';
}
});
</script>
<script type="text/x-red" data-template-name="identify">
<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="identify">
<p>Flash the Nanoleaf Aurora on and off.</p>
</script>