Skip to content

Commit 2b29450

Browse files
committed
add ip-address
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
1 parent cec2b56 commit 2b29450

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

bundles/org.openhab.core.config.core/schema/config-description-1.0.0.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
<xs:enumeration value="dayOfWeek"/>
174174
<xs:enumeration value="email"/>
175175
<xs:enumeration value="group"/>
176+
<xs:enumeration value="ip-address"/>
176177
<xs:enumeration value="item"/>
177178
<xs:enumeration value="location"/>
178179
<xs:enumeration value="mac-address"/>

bundles/org.openhab.core.config.core/src/main/java/org/openhab/core/config/core/ConfigDescriptionParameter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ public boolean isMultiple() {
324324
* <li><b>dayOfWeek</b>: A day of week [MON, TUE, WED, THU, FRI, SAT, SUN]</li>
325325
* <li><b>email</b>: The configuration value represents an email address, e.g. username@domain.com</li>
326326
* <li><b>group</b>: A valid group item "name". A UI would probably show an item selection widget.</li>
327+
* <li><b>ip-address</b>: The configuration value represents a pure IPv4 or IPv6 address (without protocol, port, or path).</li>
327328
* <li><b>item</b>: A valid item "name". A UI would probably show an item selection widget.</li>
328329
* <li><b>location</b>: A latitude,longitude[,altitude] GPS location. A UI would probably render a world map for selection.</li>
329330
* <li><b>mac-address</b>: The configuration value represents a MAC address.</li>

0 commit comments

Comments
 (0)