Document network-interface context (#2197)
This context was added in https://github.com/openhab/openhab-core/pull/3981. Signed-off-by: Wouter Born <github@maindrain.net>pull/2201/head
parent
bb72ff575f
commit
467f27cd25
|
@ -50,7 +50,7 @@ These must be inside the XML escape sequence - eg.
|
|||
</parameter-group>
|
||||
|
||||
<parameter name="String" type="{text|integer|decimal|boolean}" min="Decimal" max="Decimal" step="Decimal" pattern="String" required="{true|false}" readOnly="{true|false}" multiple="{true|false}" groupName="String" unit="A|cd|K|kg|m|mol|s|g|rad|sr|Hz|N|Pa|J|W|C|V|F|Ω|S|Wb|T|H|Cel|lm|lx|Bq|Gy|Sv|kat|m/s2|m2v|m3|kph|%|l|ms|min|h|d|week|y">
|
||||
<context>{network-address|serial-port|password|password-create|color|date|datetime|email|month|week|dayOfWeek|time|tel|url|item|thing|group|tag|service|channel|rule|location}</context>
|
||||
<context>{network-address|network-interface|serial-port|password|password-create|color|date|datetime|email|month|week|dayOfWeek|time|tel|url|item|thing|group|tag|service|channel|rule|location}</context>
|
||||
<required>{true|false}</required>
|
||||
<default>String</default>
|
||||
<label>String</label>
|
||||
|
@ -111,6 +111,7 @@ The following contexts require a specific format of the content:
|
|||
|
||||
<table><tr><th>Name</th><th>Type</th><th>Format</th><th>Sample implementation</th></tr>
|
||||
<tr><td>network-address</td><td>text</td><td>IPv4,IPv6, domain name</td><td><code><input type="text"/></code></td></tr>
|
||||
<tr><td>network-interface</td><td>text</td><td>Network interface name, e.g. eth0</td><td><code>custom input field</code></td></tr>
|
||||
<tr><td>serial-port</td><td>text</td><td>Serial port name, e.g. COM1</td><td>custom input field</td></tr>
|
||||
<tr><td>password</td><td>text</td><td>alphanumeric characters</td><td><code><input type="password"/></code></td></tr>
|
||||
<tr><td>password-create</td><td>text</td><td>alphanumeric characters</td><td>custom password input</td></tr>
|
||||
|
|
Loading…
Reference in New Issue