Skip to content

Commit 7bc8f16

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

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Property,Light,,Light,"Lights, Lighting",
4040
Property,ColorTemperature,,Color Temperature,,
4141
Property,Humidity,,Humidity,Moisture,
4242
Property,Presence,,Presence,,
43+
Property,Airflow,,Airflow,,
4344
Property,Pressure,,Pressure,,
4445
Property,Smoke,,Smoke,,
4546
Property,Noise,,Noise,,
@@ -54,6 +55,9 @@ Property,Voltage,,Voltage,,
5455
Property,Current,,Current,,
5556
Property,Frequency,,Frequency,,
5657
Property,Gas,,Gas,,
58+
Property,Application,,Application,,
59+
Property,Channel,,Channel,,
60+
Property,Mode,,Mode,,
5761
Property,SoundVolume,,Sound Volume,,
5862
Property,Oil,,Oil,,
5963
Property,Duration,,Duration,,

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

+8
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ public DefaultSemanticTagProvider() {
122122
"Humidity", "", "Moisture"));
123123
defaultTags.add(new SemanticTagImpl("Property_Presence", //
124124
"Presence", "", ""));
125+
defaultTags.add(new SemanticTagImpl("Property_Airflow", //
126+
"Airflow", "", ""));
125127
defaultTags.add(new SemanticTagImpl("Property_Pressure", //
126128
"Pressure", "", ""));
127129
defaultTags.add(new SemanticTagImpl("Property_Smoke", //
@@ -150,6 +152,12 @@ public DefaultSemanticTagProvider() {
150152
"Frequency", "", ""));
151153
defaultTags.add(new SemanticTagImpl("Property_Gas", //
152154
"Gas", "", ""));
155+
defaultTags.add(new SemanticTagImpl("Property_Application", //
156+
"Application", "", ""));
157+
defaultTags.add(new SemanticTagImpl("Property_Channel", //
158+
"Channel", "", ""));
159+
defaultTags.add(new SemanticTagImpl("Property_Mode", //
160+
"Mode", "", ""));
153161
defaultTags.add(new SemanticTagImpl("Property_SoundVolume", //
154162
"Sound Volume", "", ""));
155163
defaultTags.add(new SemanticTagImpl("Property_Oil", //

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

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Property_Light=Light,Lights,Lighting
4040
Property_ColorTemperature=Color Temperature
4141
Property_Humidity=Humidity,Moisture
4242
Property_Presence=Presence
43+
Property_Airflow=Airflow
4344
Property_Pressure=Pressure
4445
Property_Smoke=Smoke
4546
Property_Noise=Noise
@@ -54,6 +55,9 @@ Property_Voltage=Voltage
5455
Property_Current=Current
5556
Property_Frequency=Frequency
5657
Property_Gas=Gas
58+
Property_Application=Application
59+
Property_Channel=Channel
60+
Property_Mode=Mode
5761
Property_SoundVolume=Sound Volume
5862
Property_Oil=Oil
5963
Property_Duration=Duration

0 commit comments

Comments
 (0)