-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Daily rain capability removed, since always null for UDP API.
Simplified logic for wind trigger conditions.
- Loading branch information
1 parent
dfd22ea
commit 5a8e7c7
Showing
3 changed files
with
56 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"id": "com.weatherflow.smartweatherstation", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"compatibility": ">=1.5.0", | ||
"sdk": 2, | ||
"brandColor": "#3077BF", | ||
|
@@ -11,7 +11,9 @@ | |
"en": "Adds support for WeatherFlow's Smart Weather Station" | ||
}, | ||
"tags": { | ||
"en": [ "weatherflow smart weather temperature rain wind sensor" ] | ||
"en": [ | ||
"weatherflow smart weather temperature rain wind sensor" | ||
] | ||
}, | ||
"category": [ | ||
"climate" | ||
|
@@ -26,29 +28,14 @@ | |
"email": "[email protected]" | ||
}, | ||
"contributing": { | ||
"donate": { | ||
"paypal": { | ||
"username": "willoowisp" | ||
} | ||
} | ||
}, | ||
"donate": { | ||
"paypal": { | ||
"username": "willoowisp" | ||
} | ||
} | ||
}, | ||
"homeyCommunityTopicId": 9816, | ||
"capabilities": { | ||
"measure_rain_day": { | ||
"type": "number", | ||
"title": { | ||
"en": "Rain 24h" | ||
}, | ||
"getable": true, | ||
"setable": false, | ||
"decimals": 0, | ||
"units": { | ||
"en": "mm" | ||
}, | ||
"uiComponent": "sensor", | ||
"uiQuickAction": false, | ||
"icon": "/assets/measure_rain_day_capability.svg" | ||
}, | ||
"measure_uv": { | ||
"type": "number", | ||
"title": { | ||
|
@@ -131,18 +118,18 @@ | |
}, | ||
"pair": [ | ||
{ | ||
"id": "list_devices", | ||
"template": "list_devices", | ||
"navigation": { | ||
"next": "add_devices" | ||
}, | ||
"options": { | ||
"singular": false | ||
} | ||
"id": "list_devices", | ||
"template": "list_devices", | ||
"navigation": { | ||
"next": "add_devices" | ||
}, | ||
"options": { | ||
"singular": false | ||
} | ||
}, | ||
{ | ||
"id": "add_devices", | ||
"template": "add_devices" | ||
"id": "add_devices", | ||
"template": "add_devices" | ||
} | ||
] | ||
}, | ||
|
@@ -154,11 +141,10 @@ | |
"class": "sensor", | ||
"capabilities": [ | ||
"measure_rain", | ||
"measure_rain_day", | ||
"measure_luminance", | ||
"measure_wind_strength", | ||
"measure_wind_angle", | ||
"measure_wind_angle", | ||
"measure_gust_strength", | ||
"measure_luminance", | ||
"measure_uv", | ||
"measure_solarradiation", | ||
"measure_voltage" | ||
|
@@ -169,18 +155,18 @@ | |
}, | ||
"pair": [ | ||
{ | ||
"id": "list_devices", | ||
"template": "list_devices", | ||
"navigation": { | ||
"next": "add_devices" | ||
}, | ||
"options": { | ||
"singular": false | ||
} | ||
"id": "list_devices", | ||
"template": "list_devices", | ||
"navigation": { | ||
"next": "add_devices" | ||
}, | ||
"options": { | ||
"singular": false | ||
} | ||
}, | ||
{ | ||
"id": "add_devices", | ||
"template": "add_devices" | ||
"id": "add_devices", | ||
"template": "add_devices" | ||
} | ||
] | ||
} | ||
|
@@ -210,7 +196,7 @@ | |
"type": "device", | ||
"name": "sky", | ||
"filter": "driver_id=sky" | ||
}, | ||
}, | ||
{ | ||
"type": "range", | ||
"name": "wind_speed", | ||
|
@@ -232,7 +218,7 @@ | |
"type": "device", | ||
"name": "sky", | ||
"filter": "driver_id=sky" | ||
}, | ||
}, | ||
{ | ||
"type": "range", | ||
"name": "wind_speed", | ||
|
@@ -262,14 +248,14 @@ | |
{ | ||
"id": "is_windy", | ||
"title": { | ||
"en": "It !{{is|isn't}} blowing heavy" | ||
"en": "It !{{is|isn't}} windy" | ||
}, | ||
"args": [ | ||
{ | ||
"type": "device", | ||
"name": "sky", | ||
"filter": "driver_id=sky" | ||
}, | ||
}, | ||
{ | ||
"type": "range", | ||
"name": "wind_speed", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters