Skip to content

Commit 09d0bcf

Browse files
committed
Add Application, Channel, and Mode Properties
Signed-off-by: Jimmy Tanagra <[email protected]>
1 parent 2bb62e3 commit 09d0bcf

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

bundles/org.openhab.core.semantics/model/SemanticTags.csv

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ Property,Voltage,,Voltage,,
5454
Property,Current,,Current,,
5555
Property,Frequency,,Frequency,,
5656
Property,Gas,,Gas,,
57+
Property,Application,,Application,,
58+
Property,Channel,,Channel,,
59+
Property,Mode,,Mode,,
5760
Property,SoundVolume,,Sound Volume,,
5861
Property,Oil,,Oil,,
5962
Property,Duration,,Duration,,

bundles/org.openhab.core.semantics/src/main/java/org/openhab/core/semantics/model/DefaultSemanticTagProvider.java

+6
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ public DefaultSemanticTagProvider() {
150150
"Frequency", "", ""));
151151
defaultTags.add(new SemanticTagImpl("Property_Gas", //
152152
"Gas", "", ""));
153+
defaultTags.add(new SemanticTagImpl("Property_Application", //
154+
"Application", "", ""));
155+
defaultTags.add(new SemanticTagImpl("Property_Channel", //
156+
"Channel", "", ""));
157+
defaultTags.add(new SemanticTagImpl("Property_Mode", //
158+
"Mode", "", ""));
153159
defaultTags.add(new SemanticTagImpl("Property_SoundVolume", //
154160
"Sound Volume", "", ""));
155161
defaultTags.add(new SemanticTagImpl("Property_Oil", //

bundles/org.openhab.core.semantics/src/main/resources/tags.properties

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ Property_Voltage=Voltage
5454
Property_Current=Current
5555
Property_Frequency=Frequency
5656
Property_Gas=Gas
57+
Property_Application=Application
58+
Property_Channel=Channel
59+
Property_Mode=Mode
5760
Property_SoundVolume=Sound Volume
5861
Property_Oil=Oil
5962
Property_Duration=Duration

0 commit comments

Comments
 (0)