mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01:00
WaspOS: add condition code to weather JSON
This commit is contained in:
parent
1e6cde6790
commit
ed1836a2bd
@ -493,6 +493,7 @@ public class WaspOSDeviceSupport extends AbstractBTLEDeviceSupport {
|
|||||||
o.put("t", "weather");
|
o.put("t", "weather");
|
||||||
o.put("temp", weatherSpec.currentTemp);
|
o.put("temp", weatherSpec.currentTemp);
|
||||||
o.put("hum", weatherSpec.currentHumidity);
|
o.put("hum", weatherSpec.currentHumidity);
|
||||||
|
o.put("code", weatherSpec.currentConditionCode);
|
||||||
o.put("txt", weatherSpec.currentCondition);
|
o.put("txt", weatherSpec.currentCondition);
|
||||||
o.put("wind", weatherSpec.windSpeed);
|
o.put("wind", weatherSpec.windSpeed);
|
||||||
o.put("loc", weatherSpec.location);
|
o.put("loc", weatherSpec.location);
|
||||||
|
Loading…
Reference in New Issue
Block a user