mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-25 00:30:37 +02: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