Add semantic tags (#18543)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
pull/18588/head
Andrew Fiddian-Green 2025-04-21 21:17:02 +01:00 committed by GitHub
parent 82d539ea09
commit 2694546e7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,7 @@
<thing-type id="ntp"> <thing-type id="ntp">
<label>NTP Server</label> <label>NTP Server</label>
<description>An NTP server that provides current date and time</description> <description>An NTP server that provides current date and time</description>
<semantic-equipment-tag>WebService</semantic-equipment-tag>
<channels> <channels>
<channel id="dateTime" typeId="dateTime-channel"/> <channel id="dateTime" typeId="dateTime-channel"/>
<channel id="string" typeId="string-channel"/> <channel id="string" typeId="string-channel"/>
@ -47,6 +48,10 @@
<label>Date</label> <label>Date</label>
<description>NTP refreshed date and time.</description> <description>NTP refreshed date and time.</description>
<category>Time</category> <category>Time</category>
<tags>
<tag>Status</tag>
<tag>Timestamp</tag>
</tags>
<state readOnly="true"/> <state readOnly="true"/>
</channel-type> </channel-type>
<channel-type id="string-channel"> <channel-type id="string-channel">
@ -54,6 +59,10 @@
<label>Date</label> <label>Date</label>
<description>NTP refreshed date and time.</description> <description>NTP refreshed date and time.</description>
<category>Time</category> <category>Time</category>
<tags>
<tag>Status</tag>
<tag>Timestamp</tag>
</tags>
<state readOnly="true"/> <state readOnly="true"/>
<config-description> <config-description>
<parameter name="DateTimeFormat" type="text" required="false"> <parameter name="DateTimeFormat" type="text" required="false">