Skip to content

Commit

Permalink
Add Airflow, Application, Channel, and Mode Semantic Properties
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
  • Loading branch information
jimtng committed Feb 23, 2025
1 parent 2bb62e3 commit 7bc8f16
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bundles/org.openhab.core.semantics/model/SemanticTags.csv
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Property,Light,,Light,"Lights, Lighting",
Property,ColorTemperature,,Color Temperature,,
Property,Humidity,,Humidity,Moisture,
Property,Presence,,Presence,,
Property,Airflow,,Airflow,,
Property,Pressure,,Pressure,,
Property,Smoke,,Smoke,,
Property,Noise,,Noise,,
Expand All @@ -54,6 +55,9 @@ Property,Voltage,,Voltage,,
Property,Current,,Current,,
Property,Frequency,,Frequency,,
Property,Gas,,Gas,,
Property,Application,,Application,,
Property,Channel,,Channel,,
Property,Mode,,Mode,,
Property,SoundVolume,,Sound Volume,,
Property,Oil,,Oil,,
Property,Duration,,Duration,,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ public DefaultSemanticTagProvider() {
"Humidity", "", "Moisture"));
defaultTags.add(new SemanticTagImpl("Property_Presence", //
"Presence", "", ""));
defaultTags.add(new SemanticTagImpl("Property_Airflow", //
"Airflow", "", ""));
defaultTags.add(new SemanticTagImpl("Property_Pressure", //
"Pressure", "", ""));
defaultTags.add(new SemanticTagImpl("Property_Smoke", //
Expand Down Expand Up @@ -150,6 +152,12 @@ public DefaultSemanticTagProvider() {
"Frequency", "", ""));
defaultTags.add(new SemanticTagImpl("Property_Gas", //
"Gas", "", ""));
defaultTags.add(new SemanticTagImpl("Property_Application", //
"Application", "", ""));
defaultTags.add(new SemanticTagImpl("Property_Channel", //
"Channel", "", ""));
defaultTags.add(new SemanticTagImpl("Property_Mode", //
"Mode", "", ""));
defaultTags.add(new SemanticTagImpl("Property_SoundVolume", //
"Sound Volume", "", ""));
defaultTags.add(new SemanticTagImpl("Property_Oil", //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Property_Light=Light,Lights,Lighting
Property_ColorTemperature=Color Temperature
Property_Humidity=Humidity,Moisture
Property_Presence=Presence
Property_Airflow=Airflow
Property_Pressure=Pressure
Property_Smoke=Smoke
Property_Noise=Noise
Expand All @@ -54,6 +55,9 @@ Property_Voltage=Voltage
Property_Current=Current
Property_Frequency=Frequency
Property_Gas=Gas
Property_Application=Application
Property_Channel=Channel
Property_Mode=Mode
Property_SoundVolume=Sound Volume
Property_Oil=Oil
Property_Duration=Duration
Expand Down

0 comments on commit 7bc8f16

Please sign in to comment.