To construct an HTML template for adding and editing commands/conditions of your custom type, execute the following steps:
The following example shows a template with just one text field:
<div class="ha_template" id="template_DemoCommand">
<label>Property:</label>
<input class="property_field" title="Set the property" />
</div>