Add precipitation property (#4850)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
This commit is contained in:
Andrew Fiddian-Green
2025-06-17 22:50:14 +02:00
committed by GitHub
parent 575ba25023
commit 81865db3a9
5 changed files with 17 additions and 8 deletions
@@ -84,11 +84,12 @@ Property,OpenState,Opening,Open State,Open Closed,Open state (digital) of a door
Property,Position,,Position,,Position measurement or control
Property,GeoLocation,Position,Geo Location,,Geo location coordinate
Property,Power,,Power,,
Property,Precipitation,,Precipitation,,
Property,Rain,Precipitation,Rain,,
Property,Presence,,Presence,,Presence detection
Property,Pressure,,Pressure,,
Property,Progress,,Progress,,
Property,QualityOfService,,Quality of Service,,
Property,Rain,,Rain,,
Property,SignalStrength,,Signal Strength,,
Property,RSSI,SignalStrength,RSSI,Received Signal Strength Indication,
Property,Smoke,,Smoke,,Smoke detection
1 Type Tag Parent Label Synonyms Description
84 Property Position Position Position measurement or control
85 Property GeoLocation Position Geo Location Geo location coordinate
86 Property Power Power
87 Property Precipitation Precipitation
88 Property Rain Precipitation Rain
89 Property Presence Presence Presence detection
90 Property Pressure Pressure
91 Property Progress Progress
92 Property QualityOfService Quality of Service
Property Rain Rain
93 Property SignalStrength Signal Strength
94 Property RSSI SignalStrength RSSI Received Signal Strength Indication
95 Property Smoke Smoke Smoke detection
@@ -124,11 +124,12 @@ public class DefaultSemanticTagProvider implements SemanticTagProvider {
defaultTags.add(DefaultSemanticTags.Property.POSITION);
defaultTags.add(DefaultSemanticTags.Property.GEO_LOCATION);
defaultTags.add(DefaultSemanticTags.Property.POWER);
defaultTags.add(DefaultSemanticTags.Property.PRECIPITATION);
defaultTags.add(DefaultSemanticTags.Property.RAIN);
defaultTags.add(DefaultSemanticTags.Property.PRESENCE);
defaultTags.add(DefaultSemanticTags.Property.PRESSURE);
defaultTags.add(DefaultSemanticTags.Property.PROGRESS);
defaultTags.add(DefaultSemanticTags.Property.QUALITY_OF_SERVICE);
defaultTags.add(DefaultSemanticTags.Property.RAIN);
defaultTags.add(DefaultSemanticTags.Property.SIGNAL_STRENGTH);
defaultTags.add(DefaultSemanticTags.Property.RSSI);
defaultTags.add(DefaultSemanticTags.Property.SMOKE);
@@ -461,6 +461,16 @@ public class DefaultSemanticTags {
"Power", //
"", //
"");
public static final SemanticTag PRECIPITATION = new SemanticTagImpl( //
"Property_Precipitation", //
"Precipitation", //
"", //
"");
public static final SemanticTag RAIN = new SemanticTagImpl( //
"Property_Precipitation_Rain", //
"Rain", //
"", //
"");
public static final SemanticTag PRESENCE = new SemanticTagImpl( //
"Property_Presence", //
"Presence", //
@@ -481,11 +491,6 @@ public class DefaultSemanticTags {
"Quality of Service", //
"", //
"");
public static final SemanticTag RAIN = new SemanticTagImpl( //
"Property_Rain", //
"Rain", //
"", //
"");
public static final SemanticTag SIGNAL_STRENGTH = new SemanticTagImpl( //
"Property_SignalStrength", //
"Signal Strength", //
@@ -114,12 +114,13 @@ Property_Position__description=Position measurement or control
Property_Position_GeoLocation=Geo Location
Property_Position_GeoLocation__description=Geo location coordinate
Property_Power=Power
Property_Precipitation=Precipitation
Property_Precipitation_Rain=Rain
Property_Presence=Presence
Property_Presence__description=Presence detection
Property_Pressure=Pressure
Property_Progress=Progress
Property_QualityOfService=Quality of Service
Property_Rain=Rain
Property_SignalStrength=Signal Strength
Property_SignalStrength_RSSI=RSSI,Received Signal Strength Indication
Property_Smoke=Smoke
@@ -314,6 +314,7 @@
<xs:enumeration value="Pollen"/>
<xs:enumeration value="Position"/>
<xs:enumeration value="Power"/>
<xs:enumeration value="Precipitation"/>
<xs:enumeration value="Presence"/>
<xs:enumeration value="Pressure"/>
<xs:enumeration value="Progress"/>