node-red-contrib-etekcity-smartplug
Version:
etekcity smartplug
25 lines (23 loc) • 893 B
HTML
<script type="text/javascript">
RED.nodes.registerType('vesync-account',{
category: 'config',
defaults: {
username: {value:'',required:true},
password: {value:'',required:true},
},
label: function() {
return this.username;
}
});
</script>
<script type="text/x-red" data-template-name="vesync-account">
<p>Enter your Vesync credentials used to access your devices in the Vesync App on iOS and Android</p>
<div class="form-row">
<label for="node-config-input-username"><i class="icon-bookmark"></i> Username</label>
<input type="text" id="node-config-input-username">
</div>
<div class="form-row">
<label for="node-config-input-password"><i class="icon-bookmark"></i> Password</label>
<input type="password" id="node-config-input-password">
</div>
</script>