mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Add precipitation property (#4850)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
This commit is contained in:
@@ -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
|
||||
|
||||
|
+2
-1
@@ -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);
|
||||
|
||||
+10
-5
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user